标签:
参考 http://stackoverflow.com/questions/2404742/how-to-install-mongodb-on-windows
# mongodb.conf # data lives here dbpath=D:\Program Files\MongoDB\db # where to log logpath=D:\Program Files\MongoDB\log\mongodb.log logappend=true # only run on localhost for development bind_ip = 127.0.0.1 port = 27017 rest = true
mongod.exe --install --config "D:\Program Files\MongoDB\Server\3.0\bin\mongodb.conf" --logpath "D:\Program Files\MongoDB\log\mongodb.log"
标签:
原文地址:http://www.cnblogs.com/viewcozy/p/4683293.html