https://www.mongodb.com/download-center#community
windows 64-bit x64
-
在安装目录 data 文件夹下创建 新的文件夹 db(我的目录:E:MongoDBdatadb),在 log 文件夹下创建新文件 mongo.config(E:MongoDBlogmongo.config)
-
打开命令行,cd 到安装目录的 bin 文件夹下,输入命令 mongod –dbpath E:MongoDBdatadb
- http://localhost:27017