Command to create mongodb as a service is
mongod --dbpath="C:\Program Files\MongoDB\data" --logpath="C:\Program Files\MongoDB\log\log.txt" --install
Execute above command from Mongodb's bin folder,
References :
http://www.mkyong.com/mongodb/how-to-run-mongodb-as-windows-service/
http://stackoverflow.com/questions/2438055/how-to-run-mongodb-as-windows-service
mongod --dbpath="C:\Program Files\MongoDB\data" --logpath="C:\Program Files\MongoDB\log\log.txt" --install
Execute above command from Mongodb's bin folder,
References :
http://www.mkyong.com/mongodb/how-to-run-mongodb-as-windows-service/
http://stackoverflow.com/questions/2438055/how-to-run-mongodb-as-windows-service
No comments:
Post a Comment