下載MongoDB
url地址:
https://www.mongodb.com/dr/fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.4.1-signed.msi/download
MongoDB 管理工具 Robomongo
http://www.softpedia.com/get/Internet/Servers/Database-Utils/Robomongo.shtml#download
設置MongoDB目錄
手動在D盤目錄下創建 mongodb-->data-->db 的文件夾
配置Mongo服務端:**
打開cmd窗口:輸入下面命令:
d:> cd D:\MongoDB\bin> mongod --dbpath D:\MongoDB\data\db --install
打開Robomongo ,可以直接創建mongodb
補充
Windows Service Control Manager options:
--install install mongodb service
--remove remove mongodb service
--reinstall reinstall mongodb service (equivilant of mongod
--remove followed by mongod --install)
--serviceName arg windows service name
--serviceDisplayName arg windows service display name
--serviceDescription arg windows service description
--serviceUser arg user name service executes as
--servicePassword arg password used to authenticate serviceUser