MongoDB User Guide (1) install the service

Source: Internet
Author: User

Here we will not describe what MongoDB is. It mainly solves the problem of storing large data volumes. You can search for the keyword "MongoDB.

 

Windows version:

1, download: http://www.mongodb.org/downloads

2, download the latest stable version, Here download (Mongo DB) http://downloads.mongodb.org/win32/mongodb-win32-x86_64-1.8.1.zip

3. decompress the package. Decompress the package to c: \ mongoDB.

4. Create two folders (c: \ mongoDB \ data \ db \) and log files (c: \ mongoDB \ logs \ log.txt ).

5. Enter the bin folder and run cmd. Run the following command:

C: \ mongodb \ bin> mongod -- bind_ip 127.0.0.1 -- logpath c: \ mongodb \ logs \ log.txt
Logappend -- dbpath c: \ mongodb \ data -- directoryperdb -- install

6. Run the application: net start "Mongo DB"

7. Run the cmd.exe application.

 

 

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.