MongoDB is an open- source, cross-platform, document-oriented database written in C + + and is a NoSQL database. MongoDB abandons the table-based data structure in the traditional database and uses a document structure similar to the JSON format to store the data ( This format is called BSON in MongoDB). MongoDB was originally developed by thecompany in the year of 10gen( renamed as MongoDB Inc) and years of open source. now we start with the basics,LearningMongoDBinstallation and start-up.
The first step: Download the installation package: If it is a win system, note whether it is a one -bit or a three-bit version, please select the correct version.
Second step: Create a new directory "D:\\mongodb", unzip the downloaded installation package, locate all the. exe files under the bin directory , and copy to the directory you just created.
Step three: create a new "data" folder in the "D:\\mongodb" directory , which will be the root folder for data storage.
Note: official: http://www.mongodb.org/downloads
Configure the MONGO service side:
Open The cmd window and enter the command as follows:
> D:
> CD D:\\mongodb
> Mongod--dbpath d:\\mongodb\\data
After the configuration is successful, you will see the following screen:
In the browser input: http://localhost:27017/, you can see the following prompt:
You is trying to access MongoDB on the native driver port. For HTTP diagnostic access, add the port number
Thus, the MongoDB database service has been successfully started.
Original from: Blog Park /wangkejun
How MongoDB is installed and started