Run MongoDB as windows service.
Step 1 : c:\mongodb\bin>; mongod --dbpath "c:\mongodb" --logpath "c:\mongodb\log.txt" --install --serviceName "MongoDB"
Now, mongod is created as windows services.In order to start this service("MongoDB") follow 'step 2'.
Step 2 : service can be started using the command line --------> net start "MongoDB".
Reference link :
http://www.mkyong.com/mongodb/how-to-run-mongodb-as-windows-service/
http://stackoverflow.com/questions/2438055/how-to-run-mongodb-as-windows-service
Step 1 : c:\mongodb\bin>; mongod --dbpath "c:\mongodb" --logpath "c:\mongodb\log.txt" --install --serviceName "MongoDB"
Now, mongod is created as windows services.In order to start this service("MongoDB") follow 'step 2'.
Step 2 : service can be started using the command line --------> net start "MongoDB".
Reference link :
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