MongoDB Download Installation

Source: Internet
Author: User
Tags mongodb download

Windows32 bit: https://www.mongodb.org/dl/win32/i386 (official online Windows only 64-bit)
Reference Blog: https://www.cnblogs.com/chenyucong/p/6217017.html
Installation steps:
1. Download the zip archive to unzip and copy the extracted files to the disk you want to store (e.g. D:\mongodb\mongodb)
2. Manually create the Data folder for the database file

3.cmd CD to Bin directory input Mongod-dbpath d:\mongodb\data--storageengine=mmapv1 Enter (I did not add--storageengine=mmapv1 always error (Storage engine errors) , reason reference: http://blog.csdn.net/u013457382/article/details/50775268)
As the last line: Waiting for connections on port 27017, indicating a successful configuration
You can now access such as:

4. Configure the environment variable to add the path to the bin after path (e.g.:;D: \mongodb\mongodb\bin (Must have a semicolon in front))
5. Create a log folder

Because the environment variable is configured, you can open a new cmd input directly:
Mongod--dbpath "D:\mongodb\data"--logpath "D:\mongodb\log\MongoDB.log"--install--servicename "MongoDB"--journal
Then, enter: Net start MongoDB, you can start the service, you can also use net stop MongoDB to shut down the service.
Shown below:

View Services:

MongoDB Download Installation

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.