Mongo DB Install on Windows 7 OS

Source: Internet
Author: User
  1. In fact, MongoDB can be set to Windows services, this operation is for convenience, each time the boot MongoDB automatically started.

    Create a new folder log (log file) under D:\mongodb\data and create a new file Mongodb.log

    Create a new file in D:\mongodb Mongo.config

  2. Open Mongo.config input with Notepad:

    Dbpath=d:\mongodb\data\db

    Logpath=d:\mongodb\data\log\mongo.log

    Mongod--config D:\mongodb\mongo.config--install--servicename "MongoDB"

    Open cmd Input services.msc view service can see MongoDB service, click can launch.

Mongo DB Install on Windows 7 OS

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.