日期:2014-05-16 浏览次数:20436 次
mongod --logpath mongodb路径/logs/mongodb.log --logappend --dbpath mongodb目录/data --directoryperdb --serviceName MongoDB --install
all output going to : mongodb 路径/logs/mongodb.log Creating service MongoDB. Service cretion successful Service can be started from the command line via 'net start "MongoDB"'