{"id":10211,"date":"2023-04-19T05:21:46","date_gmt":"2023-04-18T20:21:46","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=10211"},"modified":"2023-04-19T05:22:21","modified_gmt":"2023-04-18T20:22:21","slug":"mongodb%e3%81%ae%e8%b5%b7%e5%8b%95%e3%81%a8%e5%81%9c%e6%ad%a2%e3%82%92%e8%a1%8c%e3%81%86%ef%bc%81%ef%bc%88rocky-linux-9%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/10211","title":{"rendered":"MongoDB\u306e\u8d77\u52d5\u3068\u505c\u6b62\u3092\u884c\u3046\uff01\uff08Rocky Linux 9\uff09"},"content":{"rendered":"<p>Rocky Linux 9\u3067\u7a3c\u50cd\u3059\u308bMongoDB\u306e\u8d77\u52d5\u3068\u505c\u6b62\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>MongoDB\u306e\u8d77\u52d5\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>MongoDB\u306e\u8d77\u52d5\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo systemctl status mongod\r\n\u25cf mongod.service - MongoDB Database Server\r\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mongod.service; enabled; vendor preset: disabled)\r\n     Active: active (running) since Sun 2023-04-16 11:02:08 JST; 15h ago\r\n       Docs: https:\/\/docs.mongodb.org\/manual\r\n   Main PID: 44101 (mongod)\r\n     Memory: 209.9M\r\n        CPU: 4min 22.441s\r\n     CGroup: \/system.slice\/mongod.service\r\n             \u2514\u250044101 \/usr\/bin\/mongod -f \/etc\/mongod.conf\r\n<\/pre>\n<h2>MongoDB\u3092\u505c\u6b62\u3059\u308b\uff01<\/h2>\n<p>MongoDB\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,2]; title: ; notranslate\" title=\"\">\r\n$ sudo systemctl stop mongod\r\n$ sudo systemctl status mongod\r\n\u25cb mongod.service - MongoDB Database Server\r\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mongod.service; enabled; vendor preset: disabled)\r\n     Active: inactive (dead) since Mon 2023-04-17 02:17:50 JST; 2s ago\r\n   Duration: 15h 15min 41.377s\r\n       Docs: https:\/\/docs.mongodb.org\/manual\r\n    Process: 44101 ExecStart=\/usr\/bin\/mongod $OPTIONS (code=exited, status=0\/SUCCESS)\r\n   Main PID: 44101 (code=exited, status=0\/SUCCESS)\r\n        CPU: 4min 23.061s\r\n<\/pre>\n<h2>MongoDB\u3092\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>MongoDB\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,2]; title: ; notranslate\" title=\"\">\r\n$ sudo systemctl start mongod\r\n$ sudo systemctl status mongod\r\n\u25cf mongod.service - MongoDB Database Server\r\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mongod.service; enabled; vendor preset: disabled)\r\n     Active: active (running) since Mon 2023-04-17 02:19:44 JST; 2s ago\r\n       Docs: https:\/\/docs.mongodb.org\/manual\r\n   Main PID: 319549 (mongod)\r\n     Memory: 161.5M\r\n        CPU: 666ms\r\n     CGroup: \/system.slice\/mongod.service\r\n             \u2514\u2500319549 \/usr\/bin\/mongod -f \/etc\/mongod.conf\r\n<\/pre>\n<h2>MongoDB\u3092\u518d\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>MongoDB\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,2]; title: ; notranslate\" title=\"\">\r\n$ sudo systemctl restart mongod\r\n$ sudo systemctl status mongod\r\n\u25cf mongod.service - MongoDB Database Server\r\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mongod.service; enabled; vendor preset: disabled)\r\n     Active: active (running) since Mon 2023-04-17 02:21:37 JST; 2s ago\r\n       Docs: https:\/\/docs.mongodb.org\/manual\r\n   Main PID: 320169 (mongod)\r\n     Memory: 169.7M\r\n        CPU: 701ms\r\n     CGroup: \/system.slice\/mongod.service\r\n             \u2514\u2500320169 \/usr\/bin\/mongod -f \/etc\/mongod.conf\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Rocky Linux 9\u3067\u7a3c\u50cd\u3059\u308bMongoDB\u306e\u8d77\u52d5\u3068\u505c\u6b62\u306f\u3001Systemd\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.mongodb.com\/docs\/\" target=\"_blank\" rel=\"noopener\">MongoDB - Documentation<\/a><\/li>\n<li><a href=\"https:\/\/www.mongodb.com\/docs\/manual\/\" target=\"_blank\" rel=\"noopener\">MongoDB Server - Manual<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/9850\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011MongoDB\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2018\/09\/eyecatch_mongodb_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011MongoDB\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">MongoDB\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u53c2\u8003\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><iframe sandbox=\"allow-popups allow-scripts allow-modals allow-forms allow-same-origin\" style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=infotecr-22&language=ja_JP&o=9&p=8&l=as4&m=amazon&f=ifr&ref=as_ss_li_til&asins=B07BGC4MJ1&linkId=0d0d3ef2181b83931f80739f4cfceb0e\"><\/iframe><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rocky Linux 9\u3067\u7a3c\u50cd\u3059\u308bMongoDB\u306e\u8d77\u52d5\u3068\u505c\u6b62\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":9875,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117],"tags":[],"class_list":["post-10211","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mongodb"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/10211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=10211"}],"version-history":[{"count":9,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/10211\/revisions"}],"predecessor-version":[{"id":10220,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/10211\/revisions\/10220"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/9875"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=10211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=10211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=10211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}