Win10系统 Mongodb安装步骤 (.msi安装方式)

一、首先下载安装程序

 

地址:https://www.mongodb.com/try/download

Win10系统 Mongodb安装步骤 (.msi安装方式)

这里我选择的是MongoDB Community Server    4.2.8版本 Windows系统 的msi文件,点击下载

二、安装

1、双击.msi

Win10系统 Mongodb安装步骤 (.msi安装方式)

2、next:

Win10系统 Mongodb安装步骤 (.msi安装方式)

3、勾选接受,next:

Win10系统 Mongodb安装步骤 (.msi安装方式)

4、complete是默认安装到C盘,这里选择的是Custom安装方式

Win10系统 Mongodb安装步骤 (.msi安装方式)

5、设置安装位置,next:

Win10系统 Mongodb安装步骤 (.msi安装方式)/

 

6、这里默认勾选安装Mongodb 服务,下面设置数据和日志路径,next:

Win10系统 Mongodb安装步骤 (.msi安装方式)

 

7、Mongodb Compass是一个使用mongodb的可视化工具,*选择吧,我在这里去掉勾选,next:

Win10系统 Mongodb安装步骤 (.msi安装方式)/

 

8、点击:install

Win10系统 Mongodb安装步骤 (.msi安装方式)

9、安装中

Win10系统 Mongodb安装步骤 (.msi安装方式)

 

10、finish

Win10系统 Mongodb安装步骤 (.msi安装方式)

 

此时查看本机的服务发现Mongodb 已经启动,如果服务中没有Mongodb,可以重启下电脑

Win10系统 Mongodb安装步骤 (.msi安装方式)

访问:http://localhost:27017/

可以看到 

Win10系统 Mongodb安装步骤 (.msi安装方式)

到此mongodb安装完成,接下来就可以使用mongodb了