MongoDB Installation and introduction

Source: Internet
Author: User

Before we put Nodejs web development to say, now say the database, the general collocation of the database is MySQL and MongoDB, today we talk about MongoDB

MongoDB is a database based on distributed file storage, written in the C + + language, designed to provide scalable, high-performance data storage solutions for Web applications.

MongoDB is a high-performance, open-source, modeless document-based database that is officially defined as a bridge between Key-value storage (high performance and high scalability) and traditional RDBMS (rich queries and features).


The following says the installation

: MongoDB's website is: http://www.mongodb.org/

Choose a different version depending on the system

Then unzip the installation

note that after the installation, to establish the Data folder under MongoDB, and then set up Db,log two folders under the Data folder, there are the following folders under MongoDB

C:\mongodb\bin

C:\mongodb\data\db

C:\mongodb\data\log

Guess this folder is used for logging and data.


You need to install the service later

Go to DOS window

>CD C:\mongodb\bin

> C:\mongodb\bin>mongod--dbpath "C:\mongodb\data\db"--logpath "C:\mongodb\data\log\MongoDB.log"--install-- ServiceName "MongoDB"

So the service was installed successfully.

>net Start MongoDB (open service)

>net Stop MongoDB (shutdown service)


So the preparation work is done, the following article will specifically write Mango primer



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

MongoDB Installation and introduction

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.