Win7 under MongoDB installation configured for random start

Source: Internet
Author: User
MongoDB under the Win7 only need to extract to the appropriate folder on the line, and then add to the Win7 path below, under the cmd command Open may not be able to actively deny the server, so choose to add to the Win7 service inside, the specific method is:
You need to create the following in the folder below the path:

Data,logs folder:


And then build a mongod.cfg. Write Address:
Logpath=d:\mongodb\logs\mongodb.log
Dbpath=d:\mongodb\data
Then run CMD as an administrator into the directory to run the following command:
Mongod--config D:\mongodb\mongod.cfg--install
When successful, it will be displayed

Finally, enter services.msc in the run or click on the computer right-manage-services and applications-services to find the MongoDB open service.


Win7 under MongoDB installation configured for random start

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.