1. 下载
mongodb server
https://yunpan.cn/cRn2pIE8AfTCE 访问密码 52ce
mongo client 下载
https://yunpan.cn/cRn2NsxYLYq4X 访问密码 d3d0
2. 安装配置
在mongodb server 安装目录新建配置文件
mongo.config
https://yunpan.cn/cRn2TkE6D2N85 访问密码 ded3
在mongodb\bin目录下运行
mongod.exe --config D:\software\MongoDB\Server\3.2\mongo.config --auth
3. 设置成windows服务
a>配置成环境变量
path=D:\software\MongoDB\Server\3.2\bin
b>安装成服务
mongod.exe --config D:\software\MongoDB\Server\3.2\mongo.config --serviceName MongoDB -install