【MongoDB】Configure a Windows Service for MongoDB
In this blog, I will mainly attach great importantance to how to create a windows service for mongodb. The method described in the next is referred from the official website of mongodb.
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
- First of all, create the folder and files that need to store db and log. if you forgot, you could view the above the blog. In my local machine,
- create a configuration file
- create the mongodb service. use the following command. and use command ’net start mongodb ‘ to start the service.
- use the command { net stop mongoDB} to stop this server or in the above service window.
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。