{"id":10946,"date":"2024-06-01T16:00:47","date_gmt":"2024-06-01T12:30:47","guid":{"rendered":"https:\/\/xaas.ir\/blog\/?p=10946"},"modified":"2025-09-02T19:39:24","modified_gmt":"2025-09-02T16:09:24","slug":"install-mongodb","status":"publish","type":"post","link":"https:\/\/abalon.cloud\/blog\/install-mongodb\/","title":{"rendered":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4"},"content":{"rendered":"<p style=\"text-align: justify;\">\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0631\u0648\u0646\u062f \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc\u200c\u0628\u06cc \u0627\u0632 \u0645\u062d\u0628\u0648\u0628\u200c\u062a\u0631\u06cc\u0646 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u200c\u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0627\u0646\u0639\u0637\u0627\u0641\u200c\u067e\u0630\u06cc\u0631\u06cc \u0628\u0627\u0644\u0627\u060c \u0627\u063a\u0644\u0628 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u062d\u062c\u0645 \u0628\u0627\u0644\u0627\u06cc\u06cc \u0627\u0632 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0628\u0627 \u0645\u0627 \u0647\u0645\u0631\u0627\u0647 \u0628\u0627\u0634\u06cc\u062f \u062a\u0627 \u0628\u0627 \u0646\u062d\u0648\u0647 \u0646\u0635\u0628 \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u06f7.\u06f0 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0622\u0634\u0646\u0627 \u0634\u0648\u06cc\u062f.<\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 14pt;\"><strong>\n                <style>\n                    @media (max-width: 540px) {\n                        .custom-read-more-box {\n                            flex-direction: column !important;\n                        }\n                        .custom-read-more-box > div {\n                            margin-bottom: 15px;\n                            margin-right: 0 !important;\n                        }\n                        .custom-read-more-box-image {\n                            width: auto !important;\n                        }\n                    }\n                <\/style>\n            <div style=\"background-color: #e9f1f9; padding: 20px; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin-top: 20px;\">\n                <div class=\"custom-read-more-box\" style=\"display: flex; align-items: center;\">\n                    <p style=\"flex: 1; font-size: 14px; color: #555; margin: 0 0 10px; align-self: center; white-space: break-spaces; text-align: center; max-width: 120px;\">\u062c\u0647\u062a \u0645\u0637\u0627\u0644\u0639\u0647 \u0628\u06cc\u0634\u062a\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f:<\/p>\n                    <div style=\"background-color: #fff; padding: 15px; border-radius: 10px; display: flex; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); flex: 4; width: 100%;\">\n                        <div class=\"custom-read-more-box-no-margin\" style=\"flex: 1; font-size: 19px; text-align: right; margin-top: 15px; margin-right:15px; min-height: 70px; align-content: space-around;\">\n                            <span style=\"text-decoration: none;\"><span style=\"color: #3366ff;\"><a style=\"color: #3366ff;\" href=\"https:\/\/abalon.cloud\/blog\/what-is-mongodb\" target=\"_blank\" rel=\"noopener\">\u0645\u0627\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc<\/a> \u0686\u06cc\u0633\u062a\u061f<\/span><\/strong><\/span><\/span>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div><\/p>\n<h2 style=\"text-align: justify;\">\u0645\u0631\u0627\u062d\u0644 \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 MongoDB 7.0<\/h2>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0645\u0631\u0627\u062d\u0644 \u0632\u06cc\u0631\u060c \u0628\u0647 \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 MongoDB \u0646\u0633\u062e\u0647 \u06f7.\u06f0 \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645. \u0628\u0627 \u062a\u06a9\u0645\u06cc\u0644 \u0627\u06cc\u0646 \u0645\u0631\u0627\u062d\u0644 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<h3>\u0645\u0631\u062d\u0644\u0647 \u0627\u0648\u0644 &#8211; MongoDB 7.0 Repo \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f<\/h3>\n<p style=\"text-align: justify;\">\u0642\u0628\u0644 \u0627\u0632 \u0627\u0646\u062c\u0627\u0645 \u0647\u0631 \u06a9\u0627\u0631\u06cc \u0628\u0627\u06cc\u062f \u067e\u06a9\u06cc\u062c \u0627\u06cc\u0646\u062f\u06a9\u0633 APT \u062e\u0648\u062f \u0631\u0627 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo apt update -y<\/pre>\n<p style=\"text-align: justify;\">\u0633\u067e\u0633\u060c \u062a\u0645\u0627\u0645\u06cc \u067e\u06a9\u06cc\u062c\u200c\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u062e\u0648\u062f \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo apt install wget curl gnupg2 software-properties-common apt-transport-https ca-certificates lsb-release vim<\/pre>\n<p style=\"text-align: justify;\">\u0627\u06a9\u0646\u0648\u0646\u060c \u06a9\u0644\u06cc\u062f GPG \u0631\u0627 \u0628\u0631\u0627\u06cc \u0631\u06cc\u067e\u0627\u0632\u06cc\u062a\u0648\u0631\u06cc MongoDB 7.0 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">curl -fsSL https:\/\/pgp.mongodb.com\/server-7.0.asc |sudo gpg --dearmor -o \/etc\/apt\/trusted.gpg.d\/mongodb-server-7.0.gpg<\/pre>\n<p style=\"text-align: justify;\">\u062d\u0627\u0644\u0627 MongoDB 7.0 Repo \u0631\u0627 \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">echo \"deb [ arch=amd64,arm64 ] https:\/\/repo.mongodb.org\/apt\/ubuntu $(lsb_release -cs)\/mongodb-org\/7.0 multiverse\" | sudo tee \/etc\/apt\/sources.list.d\/mongodb-org-7.0.list<\/pre>\n<h3>\u0645\u0631\u062d\u0644\u0647 \u062f\u0648\u0645 &#8211; \u067e\u06a9\u06cc\u062c\u200c\u0647\u0627\u06cc MongoDB \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f<\/h3>\n<p style=\"text-align: justify;\">\u067e\u0633 \u0627\u0632 \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0646 \u0631\u06cc\u067e\u0627\u0632\u06cc\u062a\u0648\u0631\u06cc\u060c \u0627\u06cc\u0646\u062f\u06a9\u0633 \u067e\u06a9\u06cc\u062c\u200c\u0647\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u06a9\u0631\u062f\u0647 \u0648 MongoDB 7.0 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo apt update &amp;&amp; sudo apt install mongodb-org<\/pre>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f. \u06a9\u0627\u0641\u06cc\u200c\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 y \u0641\u0631\u0627\u06cc\u0646\u062f \u0646\u0635\u0628 \u0631\u0627 \u0627\u062f\u0627\u0645\u0647 \u062f\u0647\u06cc\u062f:<\/p>\n<pre class=\"terminal\">The following additional packages will be installed:\r\nmongodb-database-tools mongodb-mongosh mongodb-org-database\r\nmongodb-org-database-tools-extra mongodb-org-mongos mongodb-org-server mongodb-org-shell\r\nmongodb-org-tools\r\nThe following NEW packages will be installed:\r\nmongodb-database-tools mongodb-mongosh mongodb-org mongodb-org-database\r\nmongodb-org-database-tools-extra mongodb-org-mongos mongodb-org-server mongodb-org-shell\r\nmongodb-org-tools\r\n0 upgraded, 9 newly installed, 0 to remove and 501 not upgraded.\r\nNeed to get 157 MB of archives.\r\nAfter this operation, 511 MB of additional disk space will be used.\r\nDo you want to continue? [Y\/n] y<\/pre>\n<p style=\"text-align: justify;\">\u0627\u06a9\u0646\u0648\u0646 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0633\u0631\u0648\u06cc\u0633 \u0631\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0648 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo systemctl enable --now mongod<\/pre>\n<p style=\"text-align: justify;\">\u062d\u0627\u0644 \u0628\u0627\u06cc\u062f \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0622\u06cc\u0627 \u0633\u0631\u0648\u06cc\u0633 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a \u06cc\u0627 \u062e\u06cc\u0631. \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u06a9\u0627\u0631 \u0628\u0628\u0631\u06cc\u062f:<\/p>\n<pre class=\"terminal\">systemctl status mongod<\/pre>\n<p>\u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f:<\/p>\n<pre class=\"terminal\"><mark class=\"has-inline-color has-vivid-green-cyan-color\">\u25cf<\/mark> mongod.service - MongoDB Database Server\r\nLoaded: loaded (\/lib\/systemd\/system\/mongod.service; enabled; vendor preset: enabled)\r\nActive: active (running) since Sat 2023-08-26 10:22:19 EAT; 9s ago\r\nDocs: https:\/\/docs.mongodb.org\/manual\r\nMain PID: 9811 (mongod)\r\nMemory: 81.7M\r\nCPU: 629ms\r\nCGroup: \/system.slice\/mongod.service \u2514\u25009811 \/usr\/bin\/mongod --config \/etc\/mongod.conf Ago 27 12:36:44 computingforgeeks systemd[1]: Started MongoDB Database Server. ....<\/pre>\n<p style=\"text-align: justify;\">\u0633\u067e\u0633 \u0628\u0627\u06cc\u062f \u0646\u0633\u062e\u0647 MongoDB \u0646\u0635\u0628 \u0634\u062f\u0647 \u0631\u0627 \u062a\u0623\u06cc\u06cc\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">mongod --version<\/pre>\n<p>\u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f:<\/p>\n<pre class=\"terminal\">db version v7.0.0 \r\nBuild Info: {\r\n\"version\": \"7.0.0\",\r\n\"gitVersion\": \"37d84072b5c5b9fd723db5fa133fb202ad2317f1\",\r\n\"openSSLVersion\": \"OpenSSL 3.0.2 15 Mar 2022\",\r\n\"modules\": [],\r\n\"allocator\": \"tcmalloc\",\r\n\"environment\": {\r\n\"distmod\": \"ubuntu2204\",\r\n\"distarch\": \"x86_64\",\r\n\"target_arch\": \"x86_64\"\r\n}\r\n}<\/pre>\n<h3>\u0645\u0631\u062d\u0644\u0647 \u0633\u0648\u0645 &#8211; MongoDB \u0631\u0627 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f<\/h3>\n<p style=\"text-align: justify;\">MongoDB \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 etc\/mongod.conf\/ \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0645\u0627\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062f\u0644\u062e\u0648\u0627\u0647 MongoDB \u0627\u0632 \u062c\u0645\u0644\u0647 \u0645\u0633\u06cc\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647\u060c \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0644\u0627\u06af\u200c\u0647\u0627 \u0648 \u063a\u06cc\u0631\u0647 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 MongoDB \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4\u060c \u0628\u0631\u062e\u06cc \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0631\u0627\u06cc \u0646\u0633\u062e\u0647 \u06f7.\u06f0 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645\u060c \u0622\u0648\u0631\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u060c \u0627\u0628\u062a\u062f\u0627 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo vim \/etc\/mongod.conf<\/pre>\n<ul>\n<li><strong>\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f<\/strong><\/li>\n<\/ul>\n<p>\u0628\u0631\u0627\u06cc \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062f\u0631 MongoDB 7.0\u060c \u062e\u0637\u0648\u0637 \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0627\u0632 \u062d\u0627\u0644\u062a \u06a9\u0627\u0645\u0646\u062a \u062e\u0627\u0631\u062c \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"terminal\">security:\r\nauthorization: enabled<\/pre>\n<ul>\n<li><strong>\u062f\u0633\u062a\u0631\u0633\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u0628\u0627\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0637\u0648\u0631\u06cc \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0646\u0647 \u062a\u0646\u0647\u0627 \u0628\u0647 \u0644\u0648\u06a9\u0627\u0644 \u0647\u0627\u0633\u062a\u061b \u0628\u0644\u06a9\u0647 \u0628\u0647 \u0647\u0645\u0647 \u0627\u06cc\u0646\u062a\u0631\u0641\u06cc\u0633\u200c\u0647\u0627 \u0645\u062a\u0635\u0644 \u0634\u0648\u062f. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0627\u06cc\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\"># network interfaces\r\nnet:\r\nport: 27017\r\nbindIp: 0.0.0.0 # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6 addresses or, alternatively, use the net.bindIpAll setting.<\/pre>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u067e\u0633 \u0627\u0632 \u0627\u0646\u062c\u0627\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a\u060c \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0631\u062f\u0647 \u0648 \u0633\u0631\u0648\u06cc\u0633 \u0631\u0627 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo systemctl restart mongod<\/pre>\n<p>\u0627\u06af\u0631 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a\u060c \u062f\u0631 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u06cc\u0633 \u0627\u062c\u0627\u0632\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0647\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo ufw allow 27017:<\/pre>\n<h3>\u0645\u0631\u062d\u0644\u0647 \u0686\u0647\u0627\u0631\u0645 &#8211; \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 MongoDB<\/h3>\n<p>\u062f\u0631 \u0628\u0631\u062e\u06cc \u0627\u0632 \u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u067e\u0633 \u0627\u0632 \u0646\u0635\u0628 MogoDB \u0646\u06cc\u0627\u0632 \u0628\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u062f\u0627\u062f\u0647 \u0628\u0631\u0627\u06cc <span style=\"text-align: justify;\">MongoDB \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f<\/span><span style=\"text-align: justify;\">. \u0645\u0633\u06cc\u0631 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0628\u0631\u0627\u06cc \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc var\/lib\/mongodb\/ \u0627\u0633\u062a. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647\u060c \u06cc\u06a9 \u0645\u0633\u06cc\u0631 \u0645\u062a\u0641\u0627\u0648\u062a \u0627\u06cc\u062c\u0627\u062f \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/span><\/p>\n<p>\u06a9\u0627\u0631 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0645\u062a\u0648\u0642\u0641 \u06a9\u0631\u062f\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo systemctl stop mongod.service<\/pre>\n<p>\u0645\u0633\u06cc\u0631 \u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647 \u0648 \u0633\u0637\u0648\u062d \u062f\u0633\u062a\u0631\u0633\u06cc \u0644\u0627\u0632\u0645 \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo mkdir -p <mark class=\"has-inline-color has-vivid-green-cyan-color\">\/monogdb\/data<\/mark> \r\nsudo chown -R mongodb:mongodb <mark class=\"has-inline-color has-vivid-green-cyan-color\">\/monogdb\/data<\/mark><\/pre>\n<p style=\"text-align: justify;\">\u0627\u06a9\u0646\u0648\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u0645\u0633\u06cc\u0631 \u0642\u062f\u06cc\u0645\u06cc \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 Rsync \u06a9\u067e\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo rsync -av \/var\/lib\/mongodb\/ \/monogdb\/data<\/pre>\n<p style=\"text-align: justify;\">\u0633\u067e\u0633\u060c \u0645\u0633\u06cc\u0631 \u0642\u062f\u06cc\u0645\u06cc \u0631\u0627 \u0628\u0647 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0645\u0646\u062a\u0642\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo mv \/var\/lib\/mongodb \/var\/lib\/mongodb.bak<\/pre>\n<p style=\"text-align: justify;\">\u062d\u0627\u0644\u0627 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u062e\u0648\u062f \u0631\u0627 \u0637\u0648\u0631\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u06a9\u0647 \u0645\u0633\u06cc\u0631 \u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0631\u0627 \u062f\u0631 \u062e\u0648\u062f \u062c\u0627\u06cc \u062f\u0647\u062f:<\/p>\n<pre class=\"terminal\">sudo vim \/etc\/mongod.conf<\/pre>\n<p style=\"text-align: justify;\">\u062e\u0637\u200c\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n<pre class=\"terminal\"># Where and how to store data.\r\nstorage:\r\ndbPath: \/monogdb\/data<\/pre>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0646\u0647\u0627\u06cc\u062a\u060c \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0631\u062f\u0647 \u0648 \u0633\u0631\u0648\u06cc\u0633 \u0631\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">sudo systemctl daemon-reload\r\nsudo systemctl start mongod<\/pre>\n<h3 style=\"text-align: justify;\">\u0645\u0631\u062d\u0644\u0647 \u067e\u0646\u062c\u0645- \u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 MongoDB<\/h3>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 MongoDB \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 shell \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \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=\"terminal\">mongosh<\/pre>\n<p style=\"text-align: justify;\">\u0627\u06a9\u0646\u0648\u0646 \u062e\u0631\u0648\u062c\u06cc \u0645\u0634\u0627\u0628\u0647 \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f:<\/p>\n<pre class=\"terminal\">Current Mongosh Log ID: 64eb1de75716266ec1174a00\r\nConnecting to: <mark class=\"has-inline-color has-vivid-green-cyan-color\">mongodb:\/\/127.0.0.1:27017\/?directConnection=true&amp;serverSelectionTimeoutMS=2000&amp;appName=mongosh+1.10.6<\/mark>\r\nUsing MongoDB: 7.0.0 \r\n<mark class=\"has-inline-color has-luminous-vivid-amber-color\">Using Mongosh<\/mark>: 1.10.6\r\nFor mongosh info see: https:\/\/docs.mongodb.com\/mongodb-shell\/\r\nTo help improve our products, anonymous usage data is collected and sent to MongoDB periodically (https:\/\/www.mongodb.com\/legal\/privacy-policy). \r\nYou can opt-out by running the disableTelemetry() command. \r\ntest&gt;<\/pre>\n<ul style=\"text-align: justify;\">\n<li><strong>\u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u062f\u0631 MongoDB \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f<\/strong><\/li>\n<\/ul>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0646\u0645\u0648\u0646\u0647 \u0628\u0627 \u0646\u0627\u0645 ali \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0648 \u0646\u0642\u0634\u200c\u0647\u0627\u06cc admin \u0631\u0627 \u0628\u0647 \u0622\u0646 \u0627\u062e\u062a\u0635\u0627\u0635 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645:<\/p>\n<pre class=\"terminal\">use admin\r\ndb.createUser(\r\n{\r\nuser: \"ali\",\r\npwd: passwordPrompt(), \/\/ or cleartext password\r\nroles: [ { role: \"userAdminAnyDatabase\", db: \"admin\" }, \"readWriteAnyDatabase\" ]\r\n}\r\n)<\/pre>\n<p>\u0627\u06a9\u0646\u0648\u0646\u060c \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062f\u0644\u062e\u0648\u0627\u0647 \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f:<\/p>\n<pre class=\"terminal\">exit<\/pre>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0646\u0647\u0627\u06cc\u062a\u060c \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631 \u062a\u0633\u062a \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0622\u06cc\u0627 \u0645\u0631\u0627\u062d\u0644 \u0627\u0646\u062c\u0627\u0645 \u0634\u062f\u0647 \u062f\u0631\u0633\u062a \u0627\u0633\u062a. \u0633\u067e\u0633 \u067e\u0633\u0648\u0631\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n<pre class=\"terminal\">mongosh -u ali -p --authenticationDatabase admin<\/pre>\n<pre class=\"terminal\"><mark class=\"has-inline-color has-pale-pink-color\">\r\nEnter password: *********\r\nCurrent Mongosh Log ID: 64eb1ed66fed4f50be41bc36\r\nConnecting to: <mark class=\"has-inline-color has-vivid-green-cyan-color\">mongodb:\/\/&lt;credentials&gt;@127.0.0.1:27017\/?directConnection=true&amp;serverSelectionTimeoutMS=2000&amp;authSource=admin&amp;appName=mongosh+1.10.6<\/mark>\r\nUsing MongoDB: 7.0.0\r\nUsing Mongosh: 1.10.6\r\nFor mongosh info see: https:\/\/docs.mongodb.com\/mongodb-shell\/\r\ntest&gt; <\/mark><\/pre>\n<ul>\n<li><strong>\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u200c\u0647\u0627 \u0648 \u06a9\u0627\u0644\u06a9\u0634\u0646\u200c\u0647\u0627 \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u062f\u0631 MongoDB\u060c \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u0628\u0647 \u06cc\u06a9 non-existing database \u0633\u0648\u0626\u06cc\u0686 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u0627\u0646\u0646\u062f \u0632\u06cc\u0631 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 testdb \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">use testdb<\/pre>\n<p>\u062e\u0631\u0648\u062c\u06cc \u0645\u0634\u0627\u0628\u0647 \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f:<\/p>\n<pre class=\"terminal\">switched to db testdb<\/pre>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u06a9\u0627\u0644\u06a9\u0634\u0646\u200c\u0647\u0627\u06cc\u06cc \u062f\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">db.employeedetails.insertOne(\r\n{F_Name: \"Ahmad\",\r\nL_NAME: \"Ahmadi\",\r\nID_NO: \"12345\",\r\nAGE: \"30\",\r\nTEL: \"1234567890\"\r\n}\r\n)<\/pre>\n<p>\u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u06a9\u0627\u0644\u06a9\u0634\u0646\u200c\u0647\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\">show collections<\/pre>\n<h2 style=\"text-align: justify;\">\u062c\u0645\u0639\u200c\u0628\u0646\u062f\u06cc<\/h2>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0628\u0647 \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 MongoDB \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u067e\u0631\u062f\u0627\u062e\u062a\u06cc\u0645. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0627\u0634\u0627\u0631\u0647 \u06a9\u0631\u062f\u06cc\u0645 \u06a9\u0647 \u067e\u0633 \u0627\u0632 \u0646\u0635\u0628 MongoDB \u0686\u0637\u0648\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0631\u0648\u0646\u062f \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc\u200c\u0628\u06cc \u0627\u0632 \u0645\u062d\u0628\u0648\u0628\u200c\u062a\u0631\u06cc\u0646 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u200c\u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0627\u0646\u0639\u0637\u0627\u0641\u200c\u067e\u0630\u06cc\u0631\u06cc \u0628\u0627\u0644\u0627\u060c \u0627\u063a\u0644\u0628 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u062d\u062c\u0645 \u0628\u0627\u0644\u0627\u06cc\u06cc \u0627\u0632 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0627\u0632 \u0622\u0646 &#8230;<\/p>\n","protected":false},"author":20,"featured_media":11137,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","spc_primary_category":-1},"categories":[43],"tags":[],"class_list":["post-10946","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-guide"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.8 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4<\/title>\n<meta name=\"description\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0635\u0648\u0631\u062a \u06af\u0627\u0645 \u0628\u0647 \u06af\u0627\u0645 + \u0646\u062d\u0648\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0648 \u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4\" \/>\n<meta property=\"og:description\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0635\u0648\u0631\u062a \u06af\u0627\u0645 \u0628\u0647 \u06af\u0627\u0645 + \u0646\u062d\u0648\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0648 \u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\" \/>\n<meta property=\"og:url\" content=\"https:\/\/abalon.cloud\/blog\/install-mongodb\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af \u0622\u0628\u0627\u0644\u0648\u0646\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-01T12:30:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-02T16:09:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/04\/xaas-how-to-Install-MongoDB.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"780\" \/>\n\t<meta property=\"og:image:height\" content=\"470\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/abalon.cloud\/blog\/install-mongodb\/\",\"url\":\"https:\/\/abalon.cloud\/blog\/install-mongodb\/\",\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4\",\"isPartOf\":{\"@id\":\"https:\/\/abalon.cloud\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/abalon.cloud\/blog\/install-mongodb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/abalon.cloud\/blog\/install-mongodb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/04\/xaas-how-to-Install-MongoDB.jpg\",\"datePublished\":\"2024-06-01T12:30:47+00:00\",\"dateModified\":\"2025-09-02T16:09:24+00:00\",\"author\":{\"@id\":\"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/e0b9bcf700745d2786c22d6cb7afa27d\"},\"description\":\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0635\u0648\u0631\u062a \u06af\u0627\u0645 \u0628\u0647 \u06af\u0627\u0645 + \u0646\u062d\u0648\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0648 \u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\",\"breadcrumb\":{\"@id\":\"https:\/\/abalon.cloud\/blog\/install-mongodb\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/abalon.cloud\/blog\/install-mongodb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/abalon.cloud\/blog\/install-mongodb\/#primaryimage\",\"url\":\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/04\/xaas-how-to-Install-MongoDB.jpg\",\"contentUrl\":\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/04\/xaas-how-to-Install-MongoDB.jpg\",\"width\":780,\"height\":470,\"caption\":\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/abalon.cloud\/blog\/install-mongodb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/abalon.cloud\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/abalon.cloud\/blog\/#website\",\"url\":\"https:\/\/abalon.cloud\/blog\/\",\"name\":\"\u0628\u0644\u0627\u06af \u0622\u0628\u0627\u0644\u0648\u0646\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/abalon.cloud\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/e0b9bcf700745d2786c22d6cb7afa27d\",\"name\":\"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/12\/mystery-96x96.png\",\"contentUrl\":\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/12\/mystery-96x96.png\",\"caption\":\"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc\"},\"url\":\"https:\/\/abalon.cloud\/blog\/author\/r-rasouli\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4","description":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0635\u0648\u0631\u062a \u06af\u0627\u0645 \u0628\u0647 \u06af\u0627\u0645 + \u0646\u062d\u0648\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0648 \u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646","robots":{"index":"noindex","follow":"follow"},"og_locale":"fa_IR","og_type":"article","og_title":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4","og_description":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0635\u0648\u0631\u062a \u06af\u0627\u0645 \u0628\u0647 \u06af\u0627\u0645 + \u0646\u062d\u0648\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0648 \u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646","og_url":"https:\/\/abalon.cloud\/blog\/install-mongodb\/","og_site_name":"\u0628\u0644\u0627\u06af \u0622\u0628\u0627\u0644\u0648\u0646","article_published_time":"2024-06-01T12:30:47+00:00","article_modified_time":"2025-09-02T16:09:24+00:00","og_image":[{"width":780,"height":470,"url":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/04\/xaas-how-to-Install-MongoDB.jpg","type":"image\/jpeg"}],"author":"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"5 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/abalon.cloud\/blog\/install-mongodb\/","url":"https:\/\/abalon.cloud\/blog\/install-mongodb\/","name":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4","isPartOf":{"@id":"https:\/\/abalon.cloud\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/abalon.cloud\/blog\/install-mongodb\/#primaryimage"},"image":{"@id":"https:\/\/abalon.cloud\/blog\/install-mongodb\/#primaryimage"},"thumbnailUrl":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/04\/xaas-how-to-Install-MongoDB.jpg","datePublished":"2024-06-01T12:30:47+00:00","dateModified":"2025-09-02T16:09:24+00:00","author":{"@id":"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/e0b9bcf700745d2786c22d6cb7afa27d"},"description":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0635\u0648\u0631\u062a \u06af\u0627\u0645 \u0628\u0647 \u06af\u0627\u0645 + \u0646\u062d\u0648\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0648 \u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646","breadcrumb":{"@id":"https:\/\/abalon.cloud\/blog\/install-mongodb\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/abalon.cloud\/blog\/install-mongodb\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/abalon.cloud\/blog\/install-mongodb\/#primaryimage","url":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/04\/xaas-how-to-Install-MongoDB.jpg","contentUrl":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/04\/xaas-how-to-Install-MongoDB.jpg","width":780,"height":470,"caption":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 mongodb \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648"},{"@type":"BreadcrumbList","@id":"https:\/\/abalon.cloud\/blog\/install-mongodb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/abalon.cloud\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0645\u0627\u0646\u06af\u0648 \u062f\u06cc \u0628\u06cc \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4"}]},{"@type":"WebSite","@id":"https:\/\/abalon.cloud\/blog\/#website","url":"https:\/\/abalon.cloud\/blog\/","name":"\u0628\u0644\u0627\u06af \u0622\u0628\u0627\u0644\u0648\u0646","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/abalon.cloud\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Person","@id":"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/e0b9bcf700745d2786c22d6cb7afa27d","name":"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/image\/","url":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/12\/mystery-96x96.png","contentUrl":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/12\/mystery-96x96.png","caption":"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc"},"url":"https:\/\/abalon.cloud\/blog\/author\/r-rasouli\/"}]}},"_links":{"self":[{"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/posts\/10946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/comments?post=10946"}],"version-history":[{"count":7,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/posts\/10946\/revisions"}],"predecessor-version":[{"id":10972,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/posts\/10946\/revisions\/10972"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/media\/11137"}],"wp:attachment":[{"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/media?parent=10946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/categories?post=10946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/tags?post=10946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}