The installation of MongoDB

Source: Internet
Author: User
Tags mongodb win32

3.4 of: Http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-v3.4-latest-signed.msi?_ga= 2.7045623.410933966.1512521590-461885398.1512521590

Download page for official website: Https://www.mongodb.com/download-center?jmp=nav

Downloaded in the official website is always installed to half stuck, see a big explanation why:

So I'm still using 3.4.

To start the configuration:

The first step:

Double-click File installation, I installed the custom installation in the D-Disk MongoDB folder.

Step Two:

Create a new two folder:

D:\mongodb\data\db

D:\mongodb\log

Create a new Mongodb.log file in the log folder. ( Create a mongo.txt file, then open it, click "Save As", change the file type below to "all types", and change the file name to be called Mongo.log.) the food is too much to be done.

Step Three:

Execute command under the installation directory D:\mongodb\bin folder:mongod--dbpath "D:\mongodb\data\db"--logpath "D:\mongodb\logs\log.txt"--install- ServiceName "MongoDB"

Don't miss a single space.

Without an error, you can start MongoDB, execute the command:net start MongoDB

Enter http://localhost:27017/in the Browser

will appear

You is trying to access MongoDB on the native driver port. For HTTP diagnostic access, add the port number

Indicates that the service has started.

It's OK to be here.

Note: Boot from startup, can be manually turned off (computer (right) | Management | Service), can command line net start MongoDB start.

Reference Links:

Https://www.cnblogs.com/xuanmanstein/p/7991589.html

Https://www.cnblogs.com/hongwest/p/7298257.html

The installation of 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.