From 0be0c6a2d4c9399c33ac24bd48ad90f5d9b82e3f Mon Sep 17 00:00:00 2001 From: jaysunxiao Date: Fri, 9 Jul 2021 10:23:17 +0800 Subject: [PATCH] =?UTF-8?q?doc[zfoo]:=20=E6=9B=B4=E6=96=B0=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/mongodb/mogodb-setup.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/mongodb/mogodb-setup.md b/doc/mongodb/mogodb-setup.md index 6236d227..dd171ecd 100644 --- a/doc/mongodb/mogodb-setup.md +++ b/doc/mongodb/mogodb-setup.md @@ -58,14 +58,14 @@ mongotop # 读写监控工具 ### 1.MongoDB安装配置 +- 把MongoDB下载到/usr/local目录下,在/usr/local下新建文件夹MongoDB + ``` -把MongoDB下载到/usr/local目录下,在/usr/local下新建文件夹MongoDB +tar -zxvf mongodb-linux-x86_64-enterprise-rhel70-4.2.0.tgz -C /usr/local +rename /usr/local/mongodb-linux-x86_64-enterprise-rhel70-4.2.0 mongodb /usr/local/mongodb-linux-x86_64-enterprise-rhel70-4.2.0 +vim /usr/local/mongodb/mongodb.config # 创建自定义配置文件,解压的mongodb安装包没有默认的配置文件 ``` -- tar -zxvf mongodb-linux-x86_64-enterprise-rhel70-4.2.0.tgz -C /usr/local -- rename /usr/local/mongodb-linux-x86_64-enterprise-rhel70-4.2.0 mongodb - /usr/local/mongodb-linux-x86_64-enterprise-rhel70-4.2.0 -- vim /usr/local/mongodb/mongodb.config # 创建自定义配置文件,解压的mongodb安装包没有默认的配置文件 - wiredTiger