Simple configuration of the 2015-03-18--mongodb

Source: Internet
Author: User

Reference URL: http://www.cnblogs.com/mecity/archive/2011/06/11/2078527.html#3060056

Mongod Database Startup program MONGO database operator interface startup program
1, C:\Program files\mongodb 2.6 standard\bin>mongod--dbpath E:\mongodb\blog\db start database
2. Double-click Mongo.exe to start MongoDB operation interface
In this way, the interface is not available once the Mongod is closed.

Windows Service mode
Increase the Windows service (must be administrator rights to register the service.) ServiceName must be in hump form, otherwise cannot register service)
C:\Program files\mongodb 2.6 standard\bin>mongod--dbpath E:\mongodb\blog\db--logpath E:\mongodb\blog\log\ Blog.log--install--servicename Blog
Close the Windows service
C:\Program files\mongodb 2.6 standard\bin>mongod--dbpath E:\mongodb\blog\db--logpath E:\mongodb\blog\log\ Blog.log--remove--servicename Blog

net start blog (open service) must be Administrator rights
net stop blog (shutdown service) must be Administrator rights



Simple configuration of the 2015-03-18--mongodb

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.