MongoDB installation Process

Source: Internet
Author: User
Tags install mongodb

1. Download the MongoDB installation package on the official website, I downloaded the 3.4.6 system for win10_64

2. Need to install vc++2015 the Win7 system is not installed during installation. Win10 installed in the last resort

3. Install MongoDB Click Install package directly next

4. Add a folder to the installed MongoDB installation directory: data/db (data storage folder), log (journal storage folder)

5. Execute command mongod--logpath "F:\MongoDB\Server\3.4\log\mongo.log"--logappend--dbpath "F:\MongoDB\Server\3.4\data\db"-- ServiceName "MongoDB"--install (two paths in the command are data/db and log folders, which means MongoDB is added to the system service)

6. No error message indicates successful installation, then start the service: net start MongoDB

7. Prompt to start successfully, enter command MONGO--shell connect MongoDB into MONGO operation

MongoDB installation Process

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.