一、安装
下载地址:http://www.mongodb.org/
Service Related Commands
The three service related commands are:
mongod --install
mongod --service
mongod --remove
安装为windows服务
mongod --bind_ip 127.0.0.1 --logpath d:/mongo/logs --logappend --dbpath d:/mongo/data --directoryperdb --install
仅仅命令行启动
mongod --bind_ip 127.0.0.1 --logpath d:/mongo/logs --logappend --dbpath d:/mongo/data --directoryperdb