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"
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"
本文标题:MongoDB安装与配置
本文链接:https://www.haomeiwen.com/subject/leicthtx.html
网友评论