{"id":3142,"date":"2021-12-01T13:32:34","date_gmt":"2021-12-01T09:02:34","guid":{"rendered":"https:\/\/fireserver.ir\/blog\/?p=3142"},"modified":"2021-12-03T18:33:32","modified_gmt":"2021-12-03T14:03:32","slug":"mongodb-install-on-whm-cpanel","status":"publish","type":"post","link":"https:\/\/fireserver.ir\/blog\/mongodb-install-on-whm-cpanel\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 MongoDB \u062f\u0631 WHM\/cPanel"},"content":{"rendered":"<p>MongoDB \u06cc\u06a9\u06cc \u0627\u0632 \u0622\u0646 \u0641\u0646\u0627\u0648\u0631\u06cc\u200c\u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0622\u0646 \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f \u0632\u06cc\u0631\u0627 \u0646\u062d\u0648\u0647 \u062a\u0639\u0627\u0645\u0644 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0628\u0627 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u062f\u0627\u062f\u0647 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u062f\u0647\u062f.<br \/>\nMongoDB \u0627\u0645\u0631\u0648\u0632\u0647 \u0628\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0645\u062d\u0628\u0648\u0628 \u0627\u0632 \u0646\u0638\u0631 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c MongoDB \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0627\u06cc \u0627\u0632 \u0646\u0648\u0639 NoSQL \u0645\u06cc \u0628\u0627\u0634\u062f \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0633\u0627\u062e\u062a\u0627\u0631 BSON \u062a\u0648\u0627\u0646\u0633\u062a\u0647 \u0645\u062d\u0628\u0648\u0628\u06cc\u062a \u0632\u06cc\u0627\u062f\u06cc \u0631\u0627 \u062f\u0631 \u0628\u06cc\u0646 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u06af\u0627\u0646 \u062c\u0630\u0628 \u06a9\u0646\u062f \u0648 \u0645\u0642\u06cc\u0627\u0633 \u067e\u0630\u06cc\u0631\u06cc \u0628\u06cc\u0634\u062a\u0631\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f. MongoDB \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc \u06a9\u0646\u062f \u062a\u0627 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0631\u0627 \u062f\u0631 \u0633\u0631\u06cc\u0639\u062a\u0631\u06cc\u0646 \u0632\u0645\u0627\u0646 \u0645\u0645\u06a9\u0646 \u062f\u0631 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u062e\u0648\u062f \u0628\u0647 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0631 \u0622\u0648\u0631\u06cc\u062f \u06cc\u0627 \u062f\u0631 \u0633\u0631\u06cc\u0639\u062a\u0631\u06cc\u0646 \u0632\u0645\u0627\u0646 \u0645\u0645\u06a9\u0646 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0631\u0627 \u062f\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u062d\u0627\u0644 \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0646 \u0628\u0647 \u0645\u062d\u0628\u0648\u0628 \u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 NoSQL \u0634\u062f\u0647 \u0648 \u062a\u0648\u0633\u0637 \u0648\u0628\u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u0628\u0633\u06cc\u0627\u0631\u06cc \u0645\u0627\u0646\u0646\u062f eBay\u060c NY Times\u060c SourceForge \u0648 \u0628\u0633\u06cc\u0627\u0631\u06cc \u062f\u06cc\u06af\u0631 \u062f\u0631 \u062d\u0627\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0628\u0627\u0634\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627\u060c \u0646\u062d\u0648\u0647 \u0646\u0635\u0628 MongoDB \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 WHM\/cPanel WHM \u06cc\u0627\u062f \u062e\u0648\u0627\u0647\u06cc\u062f \u06af\u0631\u0641\u062a.<\/p>\n<p style=\"text-align: center;\">\u0628\u0631\u0627\u06cc \u0646\u0635\u0628 MongoDB \u062f\u0631 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0633\u06cc \u067e\u0646\u0644 \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u06a9\u0627\u0631\u0634\u0646\u0627\u0633\u0627\u0646 \u0641\u0627\u06cc\u0631 \u0633\u0631\u0648\u0631 \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627\u0634\u06cc\u062f.<\/p>\n<blockquote><p><span style=\"font-size: 12pt;\"><a href=\"https:\/\/fireserver.ir\/vps\/iran\">\u062e\u0631\u06cc\u062f \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0627\u06cc\u0631\u0627\u0646<\/a> \u0627\u0632 \u062f\u06cc\u062a\u0627\u0633\u0646\u062a\u0631 \u0622\u0633\u06cc\u0627\u062a\u06a9 \u0628\u0631\u062c \u0645\u06cc\u0644\u0627\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u0635\u0628 cPanel \u0648 MongoDB<\/span><\/p><\/blockquote>\n<p><strong>\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632 \u0647\u0627\u06cc \u0641\u0646\u06cc<\/strong><br \/>\n<code style=\"direction: ltr;\"><strong>Technical requirements<\/strong><br \/>\nSSH Root access<br \/>\nPHP-Pear for pecl support<br \/>\nPHP-devel package installed to compile extension manually <\/code><\/p>\n<h2>\u0646\u0635\u0628 MongoDB \u0627\u0632 \u0631\u06cc\u067e\u0627\u0632\u06cc\u062a\u0648\u0631\u06cc MongoDB<\/h2>\n<p>\u0645\u062e\u0627\u0632\u0646 RPM \u0632\u06cc\u0627\u062f\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u0646\u062f \u06a9\u0647 \u067e\u06a9\u06cc\u062c \u0647\u0627\u06cc MongoDB \u0631\u0627 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc \u062f\u0647\u0646\u062f\u060c \u062a\u0648\u0635\u06cc\u0647 \u0645\u06cc \u0634\u0648\u062f \u0647\u0645\u06cc\u0634\u0647 \u0627\u0632 \u0645\u062e\u0627\u0632\u0646 \u0631\u0633\u0645\u06cc MongoDB \u0628\u0631\u0627\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0647\u0627\u06cc \u067e\u0627\u06cc\u062f\u0627\u0631 \u0648 \u0627\u0645\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<table style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"border-style: solid; border-color: white; width: 50%; text-align: center;\">\n<h2 style=\"font-size: 1.2em;\">1-\u0646\u0635\u0628 \u0631\u06cc\u067e\u0627\u0632\u06cc\u062a\u0648\u0631\u06cc \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc<\/h2>\n<\/td>\n<td style=\"border-style: solid; border-color: white; width: 50%; text-align: center;\">\n<h2 style=\"font-size: 1.2em;\">Installing MongoDB via MongoDB Repo<\/h2>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>1-1-\u0627\u0628\u062a\u062f\u0627 \u062a\u0648\u0633\u0637 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0648\u0627\u0631\u062f \u0641\u0648\u0644\u062f\u0631 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0645\u062e\u0627\u0632\u0646 \u0645\u06cc \u0634\u0648\u06cc\u0645.<\/p>\n<p><code style=\"direction: ltr;\">cd \/etc\/yum.repos.d<\/code><\/p>\n<p>1-2-\u0628\u0639\u062f \u0627\u0632 \u0648\u0627\u0631\u062f \u0634\u062f\u0646 \u0628\u0647 \u0645\u062e\u0627\u0632\u0646 CentOS \u06cc\u0627 RedHat \u0634\u0645\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 nano \u06cc\u0627 VI \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0641\u0627\u06cc\u0644 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0645\u062e\u0632\u0646 MongoDB \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 nano \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u062f\u0647\u06cc\u0645.<\/p>\n<p><code style=\"direction: ltr;\">nano -w mongodb.repo<\/code><\/p>\n<p>1-3-\u0628\u0639\u062f \u0627\u0632 \u0628\u0627\u0632 \u0634\u062f\u0646 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 \u0645\u062a\u0646 \u0632\u06cc\u0631 \u06a9\u0647 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0645\u062e\u0632\u0646 \u0627\u0635\u0644\u06cc MongoDB \u0627\u0633\u062a \u0631\u0627 \u062f\u0627\u062e\u0644 \u0622\u0646 \u0641\u0627\u06cc\u0644 \u06a9\u067e\u06cc \u06a9\u0631\u062f\u0647 \u0648 \u062a\u0648\u0633\u0637 \u06a9\u0644\u06cc\u062f CTRL + X \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<p><code style=\"direction: ltr;\">[mongodb]<br \/>\nname=MongoDB Repo<br \/>\nbaseurl=http:\/\/downloads-distro.mongodb.org\/repo\/redhat\/os\/x86_64\/<br \/>\ngpgcheck=0<br \/>\nenabled=1<br \/>\n<\/code><\/p>\n<table style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"border-style: solid; border-color: white; width: 50%; text-align: center;\">\n<h2 style=\"font-size: 1.2em;\">2-\u0646\u0635\u0628 MongoDB \u062a\u0648\u0633\u0637 YUM<\/h2>\n<\/td>\n<td style=\"border-style: solid; border-color: white; width: 50%; text-align: center;\">\n<h2 style=\"font-size: 1.2em;\">Install MongoDB using Yum<\/h2>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>2-1-\u0627\u0632 \u0637\u0631\u06cc\u0642 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 yum \u0646\u0635\u0628 MongoDB \u0631\u0627 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f:<\/p>\n<p><code style=\"direction: ltr;\">yum install mongo-10gen mongo-10gen-server<\/code><\/p>\n<p>2-2-\u0628\u0639\u062f \u0627\u0632 \u0646\u0635\u0628 MongoDB \u0628\u0627\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0628\u0647 \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u0631\u062a\u0627\u067e \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0639\u062f \u0627\u0632 \u0631\u06cc\u0633\u062a\u0627\u0631\u062a \u062e\u0648\u062f \u06a9\u0627\u0631 \u0627\u062c\u0631\u0627 \u0634\u0648\u062f\u060c \u06a9\u0647 \u062a\u0648\u0633\u0637 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f:<\/p>\n<p><code style=\"direction: ltr;\">chkconfig mongod on<\/code><\/p>\n<p>2-3-\u062a\u0648\u0633\u0637 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0633\u062a\u0627\u0631\u062a MongoDB \u0631\u0627 \u0628\u0632\u0646\u06cc\u062f:<\/p>\n<p><code style=\"direction: ltr;\">service mongod start<\/code><\/p>\n<p>2-4-\u0628\u0639\u062f \u0627\u0632 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f Mongo \u0648 Mongod \u0631\u0627 \u062a\u0648\u0633\u0637 pecl \u062f\u0631 WHM\/cPanel \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MongoDB \u06cc\u06a9\u06cc \u0627\u0632 \u0622\u0646 \u0641\u0646\u0627\u0648\u0631\u06cc\u200c\u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0622\u0646 \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f \u0632\u06cc\u0631\u0627 \u0646\u062d\u0648\u0647 \u062a\u0639\u0627\u0645\u0644 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0628\u0627 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u062f\u0627\u062f\u0647 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u062f\u0647\u062f. MongoDB \u0627\u0645\u0631\u0648\u0632\u0647 \u0628\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0645\u062d\u0628\u0648\u0628 \u0627\u0632 \u0646\u0638\u0631 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c MongoDB \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0627\u06cc \u0627\u0632 \u0646\u0648\u0639 NoSQL \u0645\u06cc \u0628\u0627\u0634\u062f \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0633\u0627\u062e\u062a\u0627\u0631 BSON \u062a\u0648\u0627\u0646\u0633\u062a\u0647 \u0645\u062d\u0628\u0648\u0628\u06cc\u062a &hellip;<\/p>\n","protected":false},"author":7,"featured_media":3179,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[145,1,143],"tags":[],"class_list":["post-3142","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","category-tutorials","category-linux"],"_links":{"self":[{"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/posts\/3142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/comments?post=3142"}],"version-history":[{"count":27,"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/posts\/3142\/revisions"}],"predecessor-version":[{"id":3170,"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/posts\/3142\/revisions\/3170"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/media\/3179"}],"wp:attachment":[{"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/media?parent=3142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/categories?post=3142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fireserver.ir\/blog\/wp-json\/wp\/v2\/tags?post=3142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}