{"id":2712,"date":"2020-01-21T23:14:50","date_gmt":"2020-01-21T14:14:50","guid":{"rendered":"https:\/\/blog.boxcorea.com\/wp\/?p=2712"},"modified":"2020-01-21T23:14:50","modified_gmt":"2020-01-21T14:14:50","slug":"centos7-mongodb-%ec%84%a4%ec%b9%98%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/blog.boxcorea.com\/wp\/archives\/2712","title":{"rendered":"CentOS7, mongoDB \uc124\uce58\ud558\uae30."},"content":{"rendered":"<p>CentOS7\uc5d0 \u00a0mongoDB \uc124\uce58\ud558\uae30.<\/p>\n<p>1. \uc800\uc7a5\uc18c(Repository) \ub4f1\ub85d<\/p>\n<p>mongoDB\ub294 CentOS \uae30\ubcf8 \uc800\uc7a5\uc18c\uc5d0 \ub4f1\ub85d\uc774 \ub418\uc5b4\uc788\uc9c0 \uc54a\uc73c\ubbc0\ub85c mongoDB \uc800\uc7a5\uc18c\ub97c \ub4f1\ub85d\ud55c\ub2e4.<\/p>\n<p>mongodb \uc800\uc7a5\uc18c\uac00 \uc124\uc815\ub418\uc9c0 \uc54a\uc73c\uba74 \uc544\ub798\ucc98\ub7fc mongodb \uad00\ub828 rpm \ud30c\uc77c\uc744 \ucc3e\uc9c0 \ubabb\ud55c\ub2e4.<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># yum search mongodb\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: mirror.navercorp.com\r\n * extras: mirror.navercorp.com\r\n * updates: mirror.navercorp.com\r\nWarning: No matches found for: mongodb\r\nNo matches found<\/pre>\n<p>\ud328\ud0a4\uc9c0\ub97c yum \uc73c\ub85c \uc124\uce58\ud558\uae30 \uc704\ud574\uc11c, \uc800\uc7a5\uc18c\ub97c \ub4f1\ub85d\ud55c\ub2e4.<\/p>\n<p>\uc800\uc7a5\uc18c\ub97c \ub4f1\ub85d\ud558\uae30 \uc704\ud574\uc11c mongodb.repo \ud30c\uc77c\uc744 \ub9cc\ub4e4\uace0 \uc544\ub798 \ub0b4\uc6a9\uc744 \uc791\uc131\ud55c\ub2e4.<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># vi \/etc\/yum.repos.d\/mongodb.repo\r\n\r\n[MongoDB]\r\nname=MongoDB Repository\r\nbaseurl=http:\/\/repo.mongodb.org\/yum\/redhat\/$releasever\/mongodb-org\/4.2\/$basearch\/\r\ngpgcheck=1\r\nenabled=1\r\ngpgkey=https:\/\/www.mongodb.org\/static\/pgp\/server-4.2.asc<\/pre>\n<p><!--more--><\/p>\n<p>\uc774\uc81c, yum search \uba85\ub839\uc5b4\ub85c mongodb \uad00\ub828 \ud328\ud0a4\uc9c0\ub97c \ucc3e\uc544\ubcf4\uba74 \uc544\ub798\uc640 \uac19\uc740 \uacb0\uacfc\ub97c \ubcfc \uc218 \uc788\ub2e4.<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># yum search mongodb\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: mirror.navercorp.com\r\n * extras: mirror.navercorp.com\r\n * updates: mirror.navercorp.com\r\nMongoDB                                                                                               | 2.4 kB  00:00:00\r\nMongoDB\/7\/x86_64\/primary_db                                                                           |  18 kB  00:00:00\r\n=================================================== N\/S matched: mongodb ====================================================\r\nmongodb-org.x86_64 : MongoDB open source document-oriented database system (metapackage)\r\nmongodb-org-mongos.x86_64 : MongoDB sharded cluster query router\r\nmongodb-org-server.x86_64 : MongoDB database server\r\nmongodb-org-shell.x86_64 : MongoDB shell client\r\nmongodb-org-tools.x86_64 : MongoDB tools\r\n\r\n  Name and summary matches only, use \"search all\" for everything.\r\n<\/pre>\n<p>2. mongodb \uc124\uce58<\/p>\n<p>yum \uba85\ub839\uc5b4\ub85c mongodb \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud55c\ub2e4.<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># yum install mongodb-org<\/pre>\n<p>3. mongodb \uc11c\ube44\uc2a4 \ub4f1\ub85d\/\uc2e4\ud589<\/p>\n<p>systemctl \uba85\ub839\uc5b4\ub85c \uc11c\ube44\uc2a4\ub97c \uc2e4\ud589\ud55c\ub2e4.<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># systemctl start mongod<\/pre>\n<p>\uc7ac\ubd80\ud305\uc2dc \uc790\ub3d9\uc73c\ub85c mongodb \ub97c \uc2e4\ud589\ud558\ub824\uba74 \uc544\ub798 \uba85\ub839\uc5b4\ub85c \uc124\uc815\ud560 \uc218 \uc788\ub2e4.<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># systemctl enable mongod<\/pre>\n<p>\uc124\uce58\ub41c \ubc84\uc804 \ud655\uc778<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># mongod --version\r\ndb version v4.2.2\r\ngit version: a0bbbff6ada159e19298d37946ac8dc4b497eadf\r\nOpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013\r\nallocator: tcmalloc\r\nmodules: none\r\nbuild environment:\r\n    distmod: rhel70\r\n    distarch: x86_64\r\n    target_arch: x86_64<\/pre>\n<p>mongodb \uc258 \uc811\uc18d<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># mongo\r\nMongoDB shell version v4.2.2\r\nconnecting to: mongodb:\/\/127.0.0.1:27017\/?compressors=disabled&amp;gssapiServiceName=mongodb\r\nImplicit session: session { \"id\" : UUID(\"6a8f238a-22d0-4484-8efd-7e0723a633fb\") }\r\nMongoDB server version: 4.2.2\r\nServer has startup warnings:\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten]\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten]\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten]\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten] ** WARNING: \/sys\/kernel\/mm\/transparent_hugepage\/enabled is 'always'.\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten] **        We suggest setting it to 'never'\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten]\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten] ** WARNING: \/sys\/kernel\/mm\/transparent_hugepage\/defrag is 'always'.\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten] **        We suggest setting it to 'never'\r\n2020-01-21T11:54:03.989+0900 I  CONTROL  [initandlisten]\r\n---\r\nEnable MongoDB's free cloud-based monitoring service, which will then receive and display\r\nmetrics about your deployment (disk utilization, CPU, operation statistics, etc).\r\n\r\nThe monitoring data will be available on a MongoDB website with a unique URL accessible to you\r\nand anyone you share the URL with. MongoDB may use this information to make product\r\nimprovements and to suggest MongoDB products and deployment options to you.\r\n\r\nTo enable free monitoring, run the following command: db.enableFreeMonitoring()\r\nTo permanently disable this reminder, run the following command: db.disableFreeMonitoring()\r\n---\r\n\r\n&gt;<\/pre>\n<p>\uc704\uc758 \ub450\ubc88\uc9f8 \uacbd\uace0\ub97c \uc5c6\uc560\uae30 \uc704\ud574\uc11c systemctl edit mongod \uba85\ub839\uc73c\ub85c \uc11c\ube44\uc2a4 \uc124\uc815\uc744 \uc218\uc815\ud55c\ub2e4.<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># systemctl edit mongod<\/pre>\n<pre class=\"lang:sh highlight:0 decode:true \">[Service]\r\nPermissionsStartOnly=true\r\nExecStartPre=\/bin\/sh -c \"echo never &gt; \/sys\/kernel\/mm\/transparent_hugepage\/enabled\"\r\n<\/pre>\n<p>\uc774\uc81c, mongod \ub97c \uc7ac\uc2dc\uc791\ud558\uace0, mongodb \uc258\uc5d0 \uc811\uc18d\ud574 \ubcf4\uba74<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># systemctl restart mongod\r\n\r\n# mongo\r\nMongoDB shell version v4.2.2\r\nconnecting to: mongodb:\/\/127.0.0.1:27017\/?compressors=disabled&amp;gssapiServiceName=mongodb\r\nImplicit session: session { \"id\" : UUID(\"97b3c279-c668-46fa-b5fc-856adcf96494\") }\r\nMongoDB server version: 4.2.2\r\nServer has startup warnings:\r\n2020-01-21T13:27:18.774+0900 I  CONTROL  [initandlisten]\r\n2020-01-21T13:27:18.774+0900 I  CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.\r\n2020-01-21T13:27:18.774+0900 I  CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.\r\n2020-01-21T13:27:18.774+0900 I  CONTROL  [initandlisten]\r\n---\r\nEnable MongoDB's free cloud-based monitoring service, which will then receive and display\r\nmetrics about your deployment (disk utilization, CPU, operation statistics, etc).\r\n\r\nThe monitoring data will be available on a MongoDB website with a unique URL accessible to you\r\nand anyone you share the URL with. MongoDB may use this information to make product\r\nimprovements and to suggest MongoDB products and deployment options to you.\r\n\r\nTo enable free monitoring, run the following command: db.enableFreeMonitoring()\r\nTo permanently disable this reminder, run the following command: db.disableFreeMonitoring()\r\n---\r\n\r\n&gt;<\/pre>\n<p>\uc774\uc81c, \ub450 \ubc88\uc9f8 \uacbd\uace0\ub294 \uc5c6\uc5b4\uc9c0\uace0, \ucc98\uc74c\uc758 \uacbd\uace0\ub9cc \ub098\uc634\uc744 \ubcfc \uc218 \uc788\ub2e4.<\/p>\n<p>\uc774 \uacbd\uace0\ub294 mongoDB\uc5d0\ub300\ud55c \uc778\uc99d\uc774\ub098 \uad8c\ud55c\ubd80\uc5ec \uc124\uc815\uc744 \ud558\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0 \ubcf4\uc5ec\uc8fc\ub294 \uac83\uc73c\ub85c \uc774 \uc0c1\ud0dc\uc5d0\uc11c\ub294 \uc2dc\uc2a4\ud15c\uc758 \ubaa8\ub4e0 \ub370\uc774\ud0c0\ubca0\uc774\uc2a4\uc640 \uceec\ub809\uc158\uc5d0 \uc811\uadfc\ud560 \uc218 \uc788\ub2e4.<br \/>\n\ud63c\uc790\uc11c \uc0ac\uc6a9\ud558\ub294\uacbd\uc6b0\ub294 \ubcc4 \ubb38\uc81c\uac00 \ub418\uc9c0 \uc54a\uc744 \uc218 \uc788\uc73c\ub098 \uc5ec\ub7ec \uacc4\uc815\uc744 \ub9cc\ub4e0\ub2e4\uba74 \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud560 \uc218 \uc788\ub2e4.<\/p>\n<p>4. \uc778\uc99d \ud65c\uc131\ud654<br \/>\n\uccab \ubc88\uc9f8 \uacbd\uace0\ub97c \uc5c6\uc560\uae30 \uc704\ud574\uc11c <a href=\"https:\/\/docs.mongodb.com\/master\/tutorial\/enable-authentication\/\">https:\/\/docs.mongodb.com\/master\/tutorial\/enable-authentication\/<\/a>\ub97c \ucc38\uace0\ud558\uc5ec <span style=\"color: #ff9900;\">\uc544\ub798\uc640 \uac19\uc774 \uc791\uc5c5\ud588\uc73c\ub098 \uc6d0\ud558\ub294 \uacb0\uacfc\ub294 \ub098\uc624\uc9c0 \uc54a\uc558\ub2e4.<\/span><br \/>\n\uc778\uc99d\uc744 \ud65c\uc131\ud654\ud558\uae30 \uc704\ud574\uc11c\ub294 access control \uc5c6\uc774 mongodb \ub97c \uc2dc\uc791\ud558\uace0, \uc778\uc2a4\ud134\uc2a4\uc5d0 \uc5f0\uacb0\ud55c \ud6c4, access control\uc744 \ud65c\uc131\ud654\ud574\uc57c \ud55c\ub2e4.<br \/>\nyum\uc73c\ub85c \uc124\uce58\ud558\uace0 \uc2e4\ud589\ud55c \uacbd\uc6b0\ub294 \uc774\ubbf8 access control \uc5c6\uc774 \uc2e4\ud589\ud55c \uc0c1\ud0dc\uc774\ubbc0\ub85c, mongodb \uc258\uc5d0 \uc811\uc18d\ud55c \ud6c4 &#8216;user administragor&#8217;\ub97c \ub9cc\ub4e4\uba74 \ub41c\ub2e4.<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \"># mongo\r\nMongoDB shell version v4.2.2\r\nconnecting to: mongodb:\/\/127.0.0.1:27017\/?compressors=disabled&amp;gssapiServiceName=mongodb\r\nImplicit session: session { \"id\" : UUID(\"951d7140-29f5-444e-9a32-f62e874601e1\") }\r\nMongoDB server version: 4.2.2\r\nServer has startup warnings:\r\n2020-01-21T13:27:18.774+0900 I  CONTROL  [initandlisten]\r\n2020-01-21T13:27:18.774+0900 I  CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.\r\n2020-01-21T13:27:18.774+0900 I  CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.\r\n2020-01-21T13:27:18.774+0900 I  CONTROL  [initandlisten]\r\n---\r\nEnable MongoDB's free cloud-based monitoring service, which will then receive and display\r\nmetrics about your deployment (disk utilization, CPU, operation statistics, etc).\r\n\r\nThe monitoring data will be available on a MongoDB website with a unique URL accessible to you\r\nand anyone you share the URL with. MongoDB may use this information to make product\r\nimprovements and to suggest MongoDB products and deployment options to you.\r\n\r\nTo enable free monitoring, run the following command: db.enableFreeMonitoring()\r\nTo permanently disable this reminder, run the following command: db.disableFreeMonitoring()\r\n---\r\n\r\n&gt; show dbs;\r\nadmin   0.000GB\r\nconfig  0.000GB\r\nlocal   0.000GB\r\n&gt; use admin\r\nswitched to db admin\r\n&gt; db.createUser(\r\n... {\r\n... user: \"mongoUserAdmin\",\r\n... pwd: \"xxx123\",\r\n... roles: [{role: \"userAdminAnyDatabase\", db: \"admin\"}]\r\n... }\r\n... )\r\nSuccessfully added user: {\r\n        \"user\" : \"mongoUserAdmin\",\r\n        \"roles\" : [\r\n                {\r\n                        \"role\" : \"userAdminAnyDatabase\",\r\n                        \"db\" : \"admin\"\r\n                }\r\n        ]\r\n}\r\n&gt;\r\n&gt; exit\r\nbye\r\n#\r\n<\/pre>\n<p>admin \ub370\uc774\ud0c0\ubca0\uc774\uc2a4\uc5d0 \uc0ac\uc6a9\uc790 mongoUserAdmin \uc744 \ub9cc\ub4e4\uace0 \ube44\ubc00\ubc88\ud638\ub97c xxx123 \uc73c\ub85c \uc124\uc815\ud558\uace0 \uad8c\ud55c\uc744 \uc92c\ub2e4.<\/p>\n<p>\uc774\uc81c mongodb \ub370\ubaac\uc744 \uc7ac \uc2dc\uc791\ud55c\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS7\uc5d0 \u00a0mongoDB \uc124\uce58\ud558\uae30. 1. \uc800\uc7a5\uc18c(Repository) \ub4f1\ub85d mongoDB\ub294 CentOS \uae30\ubcf8 \uc800\uc7a5\uc18c\uc5d0 \ub4f1\ub85d\uc774 \ub418\uc5b4\uc788\uc9c0 \uc54a\uc73c\ubbc0\ub85c mongoDB \uc800\uc7a5\uc18c\ub97c \ub4f1\ub85d\ud55c\ub2e4. mongodb \uc800\uc7a5\uc18c\uac00 \uc124\uc815\ub418\uc9c0 \uc54a\uc73c\uba74 \uc544\ub798\ucc98\ub7fc mongodb \uad00\ub828 rpm \ud30c\uc77c\uc744 \ucc3e\uc9c0 \ubabb\ud55c\ub2e4. # yum search mongodb Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.navercorp.com * extras: mirror.navercorp.com * updates: mirror.navercorp.com Warning: No matches found for: mongodb &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[27],"tags":[643,641,642],"class_list":["post-2712","post","type-post","status-publish","format-standard","hentry","category-database","tag-centos7-mongodb","tag-mongodb","tag-mongodb-","item-wrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CentOS7, mongoDB \uc124\uce58\ud558\uae30. - Blog-boxcorea<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CentOS7, mongoDB \uc124\uce58\ud558\uae30. - Blog-boxcorea\" \/>\n<meta property=\"og:description\" content=\"CentOS7\uc5d0 \u00a0mongoDB \uc124\uce58\ud558\uae30. 1. \uc800\uc7a5\uc18c(Repository) \ub4f1\ub85d mongoDB\ub294 CentOS \uae30\ubcf8 \uc800\uc7a5\uc18c\uc5d0 \ub4f1\ub85d\uc774 \ub418\uc5b4\uc788\uc9c0 \uc54a\uc73c\ubbc0\ub85c mongoDB \uc800\uc7a5\uc18c\ub97c \ub4f1\ub85d\ud55c\ub2e4. mongodb \uc800\uc7a5\uc18c\uac00 \uc124\uc815\ub418\uc9c0 \uc54a\uc73c\uba74 \uc544\ub798\ucc98\ub7fc mongodb \uad00\ub828 rpm \ud30c\uc77c\uc744 \ucc3e\uc9c0 \ubabb\ud55c\ub2e4. # yum search mongodb Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.navercorp.com * extras: mirror.navercorp.com * updates: mirror.navercorp.com Warning: No matches found for: mongodb &hellip; Continue reading\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712\" \/>\n<meta property=\"og:site_name\" content=\"Blog-boxcorea\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-21T14:14:50+00:00\" \/>\n<meta name=\"author\" content=\"snowffox\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"snowffox\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712\"},\"author\":{\"name\":\"snowffox\",\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/#\/schema\/person\/6d8e12df2429d663a0a4e8362fbb650a\"},\"headline\":\"CentOS7, mongoDB \uc124\uce58\ud558\uae30.\",\"datePublished\":\"2020-01-21T14:14:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712\"},\"wordCount\":52,\"commentCount\":0,\"keywords\":[\"centos7 mongodb\",\"mongodb\",\"mongodb \uc124\uce58\"],\"articleSection\":[\"DATABASE\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712\",\"url\":\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712\",\"name\":\"CentOS7, mongoDB \uc124\uce58\ud558\uae30. - Blog-boxcorea\",\"isPartOf\":{\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/#website\"},\"datePublished\":\"2020-01-21T14:14:50+00:00\",\"author\":{\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/#\/schema\/person\/6d8e12df2429d663a0a4e8362fbb650a\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/archives\/2712#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.boxcorea.com\/wp\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CentOS7, mongoDB \uc124\uce58\ud558\uae30.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/#website\",\"url\":\"https:\/\/blog.boxcorea.com\/wp\/\",\"name\":\"Blog-boxcorea\",\"description\":\"Simple is Beautiful!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.boxcorea.com\/wp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.boxcorea.com\/wp\/#\/schema\/person\/6d8e12df2429d663a0a4e8362fbb650a\",\"name\":\"snowffox\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/c0787be58ea7e470b1a6f5ea8ce367c7913809648a00e0c15faace5220902ffb?s=96&d=retro&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c0787be58ea7e470b1a6f5ea8ce367c7913809648a00e0c15faace5220902ffb?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c0787be58ea7e470b1a6f5ea8ce367c7913809648a00e0c15faace5220902ffb?s=96&d=retro&r=g\",\"caption\":\"snowffox\"},\"url\":\"https:\/\/blog.boxcorea.com\/wp\/archives\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CentOS7, mongoDB \uc124\uce58\ud558\uae30. - Blog-boxcorea","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.boxcorea.com\/wp\/archives\/2712","og_locale":"ko_KR","og_type":"article","og_title":"CentOS7, mongoDB \uc124\uce58\ud558\uae30. - Blog-boxcorea","og_description":"CentOS7\uc5d0 \u00a0mongoDB \uc124\uce58\ud558\uae30. 1. \uc800\uc7a5\uc18c(Repository) \ub4f1\ub85d mongoDB\ub294 CentOS \uae30\ubcf8 \uc800\uc7a5\uc18c\uc5d0 \ub4f1\ub85d\uc774 \ub418\uc5b4\uc788\uc9c0 \uc54a\uc73c\ubbc0\ub85c mongoDB \uc800\uc7a5\uc18c\ub97c \ub4f1\ub85d\ud55c\ub2e4. mongodb \uc800\uc7a5\uc18c\uac00 \uc124\uc815\ub418\uc9c0 \uc54a\uc73c\uba74 \uc544\ub798\ucc98\ub7fc mongodb \uad00\ub828 rpm \ud30c\uc77c\uc744 \ucc3e\uc9c0 \ubabb\ud55c\ub2e4. # yum search mongodb Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.navercorp.com * extras: mirror.navercorp.com * updates: mirror.navercorp.com Warning: No matches found for: mongodb &hellip; Continue reading","og_url":"https:\/\/blog.boxcorea.com\/wp\/archives\/2712","og_site_name":"Blog-boxcorea","article_published_time":"2020-01-21T14:14:50+00:00","author":"snowffox","twitter_card":"summary_large_image","twitter_misc":{"Written by":"snowffox","Est. reading time":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.boxcorea.com\/wp\/archives\/2712#article","isPartOf":{"@id":"https:\/\/blog.boxcorea.com\/wp\/archives\/2712"},"author":{"name":"snowffox","@id":"https:\/\/blog.boxcorea.com\/wp\/#\/schema\/person\/6d8e12df2429d663a0a4e8362fbb650a"},"headline":"CentOS7, mongoDB \uc124\uce58\ud558\uae30.","datePublished":"2020-01-21T14:14:50+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.boxcorea.com\/wp\/archives\/2712"},"wordCount":52,"commentCount":0,"keywords":["centos7 mongodb","mongodb","mongodb \uc124\uce58"],"articleSection":["DATABASE"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.boxcorea.com\/wp\/archives\/2712#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.boxcorea.com\/wp\/archives\/2712","url":"https:\/\/blog.boxcorea.com\/wp\/archives\/2712","name":"CentOS7, mongoDB \uc124\uce58\ud558\uae30. - Blog-boxcorea","isPartOf":{"@id":"https:\/\/blog.boxcorea.com\/wp\/#website"},"datePublished":"2020-01-21T14:14:50+00:00","author":{"@id":"https:\/\/blog.boxcorea.com\/wp\/#\/schema\/person\/6d8e12df2429d663a0a4e8362fbb650a"},"breadcrumb":{"@id":"https:\/\/blog.boxcorea.com\/wp\/archives\/2712#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.boxcorea.com\/wp\/archives\/2712"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.boxcorea.com\/wp\/archives\/2712#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.boxcorea.com\/wp"},{"@type":"ListItem","position":2,"name":"CentOS7, mongoDB \uc124\uce58\ud558\uae30."}]},{"@type":"WebSite","@id":"https:\/\/blog.boxcorea.com\/wp\/#website","url":"https:\/\/blog.boxcorea.com\/wp\/","name":"Blog-boxcorea","description":"Simple is Beautiful!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.boxcorea.com\/wp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/blog.boxcorea.com\/wp\/#\/schema\/person\/6d8e12df2429d663a0a4e8362fbb650a","name":"snowffox","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/secure.gravatar.com\/avatar\/c0787be58ea7e470b1a6f5ea8ce367c7913809648a00e0c15faace5220902ffb?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c0787be58ea7e470b1a6f5ea8ce367c7913809648a00e0c15faace5220902ffb?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c0787be58ea7e470b1a6f5ea8ce367c7913809648a00e0c15faace5220902ffb?s=96&d=retro&r=g","caption":"snowffox"},"url":"https:\/\/blog.boxcorea.com\/wp\/archives\/author\/admin"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4wGXL-HK","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/blog.boxcorea.com\/wp\/wp-json\/wp\/v2\/posts\/2712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.boxcorea.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.boxcorea.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.boxcorea.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.boxcorea.com\/wp\/wp-json\/wp\/v2\/comments?post=2712"}],"version-history":[{"count":1,"href":"https:\/\/blog.boxcorea.com\/wp\/wp-json\/wp\/v2\/posts\/2712\/revisions"}],"predecessor-version":[{"id":2713,"href":"https:\/\/blog.boxcorea.com\/wp\/wp-json\/wp\/v2\/posts\/2712\/revisions\/2713"}],"wp:attachment":[{"href":"https:\/\/blog.boxcorea.com\/wp\/wp-json\/wp\/v2\/media?parent=2712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.boxcorea.com\/wp\/wp-json\/wp\/v2\/categories?post=2712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.boxcorea.com\/wp\/wp-json\/wp\/v2\/tags?post=2712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}