The installation of MongoDB

Source: Internet
Author: User

Display the contents of a database in a page

A. MongoDB

1. is a popular one among the current NOSQL databases

MongoDB is a high performance, open source, modeless, document-based database

2. Install MongoDB for testing

First time Installation

1. Installing mongodb-win32-i386-3.2.9-signed.msi

2. Note:dbpath This is the location of the data warehouse, manually set up such a folder in advance (c:/data/db)

3. Open win+r, enter cmd, and go to the mongodb bin Directory

C:\Program Files\mongodb\server\3.2\bin, Executive

Mongod--dbpath c:/data/db--storageengine=mmapv1

4. reopen a cmd Command window and must go to the mongodb bin directory to execute MONGO

Second execution

1. executive Mongod

2. Open a new cmdand execute MONGO

will be The MongoDB command is written to the current environment variable, and access can be performed under the cmd command

1. enter mongodb bin directory, copy directory structure c:\program files\mongodb\server\3.2\bin

2. Right-click on the computer, click Properties, advanced system settings , advanced System environment Variables , click Path edit

writes the copied directory results to the end of path, paying attention to the use of English symbols ; do interval


Brother even it education-h5 College


This article from the "12085384" blog, reproduced please contact the author!

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.