Windows7 Installing and configuring MongoDB notes

Source: Internet
Author: User

Make a simple note to record the process of installing the MongoDB configuration

First download MongoDB, the ability to use the installation version, the path is more fucked, so copy and paste to other paths, the final path is as follows (including some other configuration files)

C:\MongoDB    | --        bin|--mongo.conf        |--startup.bat        |--..... (others)    | --    db|--log        |--mongodb.log

The above folders and files are built by themselves

Among them, the contents of the mongo.conf file are as follows:

1 dbpath=C:\MongoDB\db2 logpath=C:\MongoDB\logs\mongodb.log3 port= 27017 4 logappend=true

The contents of the Startup.bat file are as follows:

Mongod--config mongo.confpause

At present, the test seems to be no problem, directly run the Startup.bat file can be started (design administrator permissions issues do not list the ~)

Windows7 Installing and configuring MongoDB notes

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.