一、首先下载安装程序

 

地址: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了

相关文章:

  • 2021-07-10
  • 2021-04-11
  • 2022-12-23
  • 2021-07-04
  • 2021-08-09
  • 2021-04-16
  • 2021-04-04
  • 2021-06-10
猜你喜欢
  • 2021-05-21
  • 2021-12-30
  • 2022-01-20
  • 2021-04-03
  • 2021-11-25
  • 2021-09-04
  • 2021-11-16
相关资源
相似解决方案