{"id":2498,"date":"2018-03-06T07:30:23","date_gmt":"2018-03-06T04:00:23","guid":{"rendered":"http:\/\/webide.ir\/blog\/?p=2498"},"modified":"2018-03-04T15:55:20","modified_gmt":"2018-03-04T12:25:20","slug":"%d9%86%d8%b5%d8%a8-%d9%85%d9%88%d9%86%da%af%d9%88-%d8%af%db%8c-%d8%a8%db%8c-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88","status":"publish","type":"post","link":"https:\/\/webide.ir\/blog\/%d9%86%d8%b5%d8%a8-%d9%85%d9%88%d9%86%da%af%d9%88-%d8%af%db%8c-%d8%a8%db%8c-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88","title":{"rendered":"\u0686\u06af\u0648\u0646\u0647 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 16.04 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645\u061f"},"content":{"rendered":"<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc \u062f\u0627\u0646\u06cc\u062f \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc(MongoDB) \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0631\u0627\u06cc\u06af\u0627\u0646 \u0648 \u0645\u062a\u0646 \u0628\u0627\u0632 \u063a\u06cc\u0631 SQL \u0627\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u06af\u0633\u062a\u0631\u062f\u0647 \u0627\u06cc \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627\u06cc \u0645\u062f\u0631\u0646 \u0648\u0628\u060c \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u0646\u062d\u0648\u0647 \u0646\u0635\u0628 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u06a9\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0628\u0631 \u0631\u0648\u06cc \u0622\u0646 \u0646\u0635\u0628 \u0634\u062f\u0647 \u0627\u0633\u062a \u0631\u0627 \u0628\u0627 \u0647\u0645 \u0645\u0631\u0648\u0631 \u06a9\u0646\u06cc\u0645. \u067e\u0633 \u0647\u0645\u0631\u0627\u0647 \u0648\u0628 \u0627\u06cc\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/p>\n<p><!--more--><\/p>\n<h4><span style=\"color: #008000;\">\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627:<\/span><\/h4>\n<p>\u0628\u0631\u0627\u06cc \u062f\u0646\u0628\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0628\u0647 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0646\u06cc\u0627\u0632 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a:<\/p>\n<p>\u06cc\u06a9 <strong>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc<\/strong> \u0628\u0627 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 16.04 \u060c \u06a9\u0627\u0631\u0628\u0631 \u063a\u06cc\u0631 \u0631\u0648\u062a \u0628\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc Sudo \u0648 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644.<\/p>\n<h4><span style=\"color: #993300;\">\u06af\u0627\u0645 \u0627\u0648\u0644: \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0645\u062e\u0632\u0646 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc<\/span><\/h4>\n<p>\u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u062f\u0631 \u062d\u0627\u0644 \u062d\u0627\u0636\u0631 \u062f\u0631 \u0645\u062e\u0632\u0646 \u067e\u06a9\u06cc\u062c \u0647\u0627\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a \u0627\u0645\u0627 \u0645\u062e\u0632\u0646 \u0631\u0633\u0645\u06cc \u0622\u0646\u060c \u0646\u0633\u062e\u0647 \u0647\u0627\u06cc \u0628\u0647 \u0631\u0648\u0632\u062a\u0631\u06cc \u0631\u0627 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u0634\u0645\u0627 \u0642\u0631\u0627\u0631 \u0645\u06cc \u062f\u0647\u062f \u0648 \u06cc\u06a9 \u0631\u0648\u0634 \u062a\u0648\u0635\u06cc\u0647 \u0634\u062f\u0647 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647\u060c \u0645\u0627 \u0645\u062e\u0632\u0646 \u0631\u0633\u0645\u06cc \u0631\u0627 \u0628\u0647 <strong>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc<\/strong> \u062e\u0648\u062f \u0627\u0636\u0627\u0641\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0642\u0627\u0628\u0644 \u0627\u0639\u062a\u0645\u0627\u062f \u0628\u0648\u062f\u0646 \u067e\u06a9\u06cc\u062c \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627 \u0631\u0627 \u0628\u0627 \u062a\u0627\u06cc\u06cc\u062f \u0627\u0645\u0636\u0627\u06cc \u0622\u0646\u060c \u0645\u0648\u0631\u062f \u0628\u0631\u0631\u0633\u06cc \u0642\u0631\u0627\u0631 \u0645\u06cc \u062f\u0647\u062f. \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062e\u0627\u0637\u0631 \u0642\u0628\u0644 \u0627\u0632 \u0647\u0631 \u06a9\u0627\u0631\u06cc \u0628\u0627\u06cc\u062f Key \u0622\u0646 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0645\u062e\u0632\u0646 \u0631\u0633\u0645\u06cc \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0627\u06cc\u0645\u067e\u0648\u0631\u062a \u06a9\u0646\u06cc\u0645.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0627\u0631 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">$sudo apt-key adv --keyserver hkp:\/\/keyserver.ubuntu.com:80 --recv EA312927\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0639\u062f \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u0645\u0648\u0641\u0642\u06cc\u062a \u0622\u0645\u06cc\u0632\u060c Key \u0631\u0627 \u0627\u06cc\u0645\u067e\u0648\u0631\u062a \u06a9\u0631\u062f\u06cc\u062f \u0628\u0627\u06cc\u062f \u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">gpg: Total number processed: 1\r\ngpg:               imported: 1  (RSA: 1)<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062d\u0627\u0644\u0627 \u0628\u0627\u06cc\u062f \u062c\u0632\u06cc\u06cc\u0627\u062a \u0645\u062e\u0632\u0646 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0627 \u0646\u06cc\u0632 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645. \u067e\u0633 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 apt \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u0628\u06cc\u0646\u06cc\u062f \u0627\u0632 \u06a9\u062c\u0627 \u0628\u0627\u06cc\u062f \u067e\u06a9\u06cc\u062c \u0647\u0627 \u0631\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.\u00a0 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0641\u0627\u06cc\u0644\u06cc \u0628\u0631\u0627\u06cc \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0627\u062c\u0631\u0627 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">$echo \"deb http:\/\/repo.mongodb.org\/apt\/ubuntu xenial\/mongodb-org\/3.2 multiverse\" | sudo tee \/etc\/apt\/sources.list.d\/mongodb-org-3.2.list\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0639\u062f \u0627\u0632 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u062c\u0632\u06cc\u06cc\u0627\u062a \u0645\u062e\u0632\u0646\u060c \u0628\u0627\u06cc\u062f \u0641\u0647\u0631\u0633\u062a \u067e\u06a9\u06cc\u062c \u0647\u0627 \u0631\u0627 \u0628\u0647 \u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u06a9\u0646\u06cc\u0645:<\/p>\n<pre class=\"lang:default decode:true \">$sudo apt-get update\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h4><span style=\"color: #993300;\">\u06af\u0627\u0645 \u062f\u0648\u0645: \u0646\u0635\u0628 \u0648 \u062a\u0627\u06cc\u06cc\u062f \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc<\/span><\/h4>\n<p>\u062e\u0648\u0628 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062e\u0648\u062f \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0627 \u0646\u0635\u0628 \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \">$sudo apt-get install -y mongodb-org\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u00a0 \u067e\u06a9\u06cc\u062c \u0647\u0627\u06cc \u0645\u062a\u0639\u062f\u062f\u06cc \u06a9\u0647 \u062f\u0631 \u0628\u0631\u06af\u06cc\u0631\u0646\u062f\u0647 \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0627\u0632 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0633\u0627\u06cc\u0631 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0641\u06cc\u062f \u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0627\u0633\u062a \u0631\u0627 \u0646\u0635\u0628 \u0645\u06cc \u0646\u0645\u0627\u06cc\u062f. \u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f\u060c \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0627 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0627\u0631\u062a \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">$sudo systemctl start mongod\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 systemctl \u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u0622\u063a\u0627\u0632 \u0628\u0647 \u06a9\u0627\u0631 \u062f\u0631\u0633\u062a \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627 \u0647\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">$sudo systemctl status mongod\r\n<\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">\u25cf mongodb.service - High-performance, schema-free document-oriented database\r\n   Loaded: loaded (\/etc\/systemd\/system\/mongodb.service; enabled; vendor preset: enabled)\r\n   Active: active (running) since Mon 2016-04-25 14:57:20 EDT; 1min 30s ago\r\n Main PID: 4093 (mongod)\r\n    Tasks: 16 (limit: 512)\r\n   Memory: 47.1M\r\n      CPU: 1.224s\r\n   CGroup: \/system.slice\/mongodb.service\r\n           \u2514\u25004093 \/usr\/bin\/mongod --quiet --config \/etc\/mongod.conf<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u0622\u062e\u0631\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc \u0622\u063a\u0627\u0632 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0628\u0647 \u0647\u0646\u06af\u0627\u0645 \u0627\u062c\u0631\u0627\u06cc \u0633\u0631\u0648\u0631 \u0627\u0633\u062a:<\/p>\n<pre class=\"lang:default decode:true \">$sudo systemctl enable mongod<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062e\u0648\u0628 \u062d\u0627\u0644\u0627 \u0633\u0631\u0648\u0631 MongoDB \u0634\u0645\u0627 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0634\u062f\u0647 \u0648 \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627\u0633\u062a. \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0631\u0627 \u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631\u0627\u062a systemctl \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u06cc\u062f.<\/p>\n<h4><span style=\"color: #993300;\">\u06af\u0627\u0645 \u0633\u0648\u0645:\u062a\u0646\u0638\u06cc\u0645 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0641\u0627\u06cc\u0631\u0648\u0627\u0644( \u0627\u062e\u062a\u06cc\u0627\u0631\u06cc)<\/span><\/h4>\n<p>\u0641\u0631\u0636 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0634\u0645\u0627 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0627\u0648\u0644\u06cc\u0647 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f. \u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0632 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u062e\u0648\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0644\u0648\u06a9\u0627\u0644 \u062f\u0631 \u0647\u0645\u0627\u0646 \u0633\u0631\u0648\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u062f\u0631 \u0622\u0646 \u0646\u0635\u0628 \u0634\u062f\u0647 \u0648 \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627\u0633\u062a\u060c \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0646 \u0631\u0627 \u0627\u0645\u0646 \u06a9\u0646\u06cc\u062f. \u0628\u0627 \u0627\u06cc\u0646\u062d\u0627\u0644 \u0627\u06af\u0631 \u062f\u0648\u0633\u062a \u062f\u0627\u0631\u06cc\u062f \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0647\u0645 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0648\u0635\u0644 \u0634\u0648\u06cc\u062f\u060c \u00a0\u0628\u0627\u06cc\u062f \u0648\u0631\u0648\u062f\u06cc \u0647\u0627\u06cc \u0645\u0631\u062a\u0628\u0637 \u0631\u0627 \u062f\u0631 UFW \u0645\u062c\u0627\u0632 \u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0628\u0631 \u0631\u0648\u06cc \u067e\u0648\u0631\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636 27017 \u0627\u0632 \u0647\u0631 \u0645\u06a9\u0627\u0646 \u062f\u0644\u062e\u0648\u0627\u0647\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 sudo ufw allow27017\u00a0 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0628\u0627 \u0627\u06cc\u0646\u062d\u0627\u0644 \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0628\u0627\u0639\u062b \u0645\u06cc \u0634\u0648\u062f \u062f\u0633\u062a\u0631\u0633\u06cc \u0646\u0627\u0645\u062d\u062f\u0648\u062f\u06cc \u0628\u0647 \u06a9\u0644 \u0633\u0631\u0648\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0634\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u0634\u0648\u062f. \u062f\u0631 \u0628\u06cc\u0634\u062a\u0631 \u0645\u0648\u0627\u0631\u062f\u060c \u0628\u0627\u06cc\u062f \u062a\u0646\u0647\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0645\u0648\u0642\u0639\u06cc\u062a \u0647\u0627\u06cc \u0642\u0627\u0628\u0644 \u0627\u0639\u062a\u0645\u0627\u062f \u0628\u0647 \u0627\u06cc\u0646 \u0633\u0631\u0648\u0631 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646\u06a9\u0627\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u067e\u0648\u0631\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u0639\u06cc\u0646 \u062d\u0627\u0644 \u0622\u06cc \u067e\u06cc \u0622\u062f\u0631\u0633 \u0633\u0631\u0648\u0631 \u0647\u0627\u06cc \u062f\u06cc\u06af\u0631\u06cc \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u0622\u0646 \u0645\u062a\u0635\u0644 \u0634\u0648\u0646\u062f \u0631\u0627 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0627\u0631 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">$sudo ufw allow from your_other_server_ip\/32 to any port 27017<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u060c \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u062f\u0631 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0631\u0627 \u062a\u0627\u06cc\u06cc\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo ufw status\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u062a\u0631\u0627\u0641\u06cc\u06a9\u06cc \u0631\u0627 \u0627\u0632 \u067e\u0648\u0631\u062a 27017 \u0631\u0627 \u062f\u0631 \u062e\u0631\u0648\u062c\u06cc \u0645\u062f\u0646\u0638\u0631 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0627\u06af\u0631 \u062a\u0635\u0645\u06cc\u0645 \u062f\u0627\u0631\u06cc\u062f \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0627\u0632 \u0622\u06cc \u067e\u06cc \u0622\u062f\u0631\u0633 \u062e\u0627\u0635\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0627\u06cc \u067e\u06cc \u0622\u062f\u0631\u0633 \u0645\u0648\u0642\u0639\u06cc\u062a \u0645\u062c\u0627\u0632 \u062f\u0631 \u062e\u0631\u0648\u062c\u06cc\u00a0 \u0628\u0647 \u062c\u0627\u06cc \u0628\u062e\u0634 Anywhere\u060c \u0638\u0627\u0647\u0631 \u062e\u0648\u0627\u0647\u062f \u0634\u062f.<\/p>\n<pre class=\"lang:default decode:true\">Status: active\r\n\r\nTo                         Action      From\r\n--                         ------      ----\r\n27017                      ALLOW       Anywhere\r\nOpenSSH                    ALLOW       Anywhere\r\n27017 (v6)                 ALLOW       Anywhere (v6)\r\nOpenSSH (v6)               ALLOW       Anywhere (v6)<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062e\u0648\u0628 \u0622\u0645\u0648\u0632\u0634 \u0645\u0627 \u0628\u0647 \u067e\u0627\u06cc\u0627\u0646 \u0631\u0633\u06cc\u062f\u0647 \u0627\u0633\u062a. \u0627\u0645\u06cc\u062f\u0648\u0627\u0631\u06cc\u0645 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u062a\u0648\u0627\u0646\u062f \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u062e\u0648\u0628\u06cc \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 16.04 \u0628\u0627\u0634\u062f.<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;2498&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 \u0627\u0645\u062a\u06cc\u0627\u0632)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u0686\u06af\u0648\u0646\u0647 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 16.04 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645\u061f&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">Rate this post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc \u062f\u0627\u0646\u06cc\u062f \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc(MongoDB) \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0631\u0627\u06cc\u06af\u0627\u0646 \u0648 \u0645\u062a\u0646 \u0628\u0627\u0632 \u063a\u06cc\u0631 SQL \u0627\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u06af\u0633\u062a\u0631\u062f\u0647 \u0627\u06cc \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627\u06cc \u0645\u062f\u0631\u0646 \u0648\u0628\u060c \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u0646\u062d\u0648\u0647 \u0646\u0635\u0628 \u0645\u0648\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u06a9\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0628\u0631 \u0631\u0648\u06cc \u0622\u0646 &hellip;<\/p>\n","protected":false},"author":8,"featured_media":2501,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_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":""},"categories":[1371,1634,3],"tags":[1908,373,1906,1909,1907],"class_list":["post-2498","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","category-vps","category-web-articles","tag-mongodb","tag-373","tag-1906","tag-1909","tag-1907"],"views":"1862","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/parry3-Ei","jetpack_featured_media_url":"https:\/\/webide.ir\/blog\/wp-content\/uploads\/2018\/03\/MongoDB_Install_tw_mostov.png.jpg","_links":{"self":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/2498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/comments?post=2498"}],"version-history":[{"count":0,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/2498\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/media\/2501"}],"wp:attachment":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/media?parent=2498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/categories?post=2498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/tags?post=2498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}