MongoDB安装与配置
2020-01-24 本文已影响0人
梦安web开发
1.安装mongoDB
mongoDB的软件官网下载安装(https://www.mongodb.com/download-center/community)
2.系统配置mongoDB

3.创建文件

4.mongoDB挂载Windows服务(注意可能要在管理员cmd下挂载)
mongod --dbpath "F:\mongodb\db" --logpath "F:\mongodb\log\mongodb.log" --install --serviceName "MongoDB"