Introduction
Mom said the name is too long in the back or in the title heap is easy to find.
The source of MongoDB's name is related to the word humongous (great, immense), which is a scalable, high-performance, open-source NoSQL database.
The reason behind go to add so many O, one is the hope that MongoDB can continue to develop, and the second is a symbol of its high scalability ... (Not very far-fetched >.<)
Installation
First on the official website http://www.mongodb.org download installation files, there are 2 formats, one is MSI, one is zip.
MSI is an executable program that needs to be installed while the zip is extracted to the appropriate folder. The author downloads the 64-bit MSI, which is installed by default in the C:\Program FILES\MONGODB 2.6 Standard directory.
Start MongoDB
Before starting to create a database folder, the author's database path is:D:\MongoDB\data.
Then open a command-line window and execute the following 2 commands to start MongoDB:
> CD C:\Program files\mongodb 2.6 standard\bin> mongod--dbpath D:\MongoDB\data
After successful startup, the words "2014-08-18t20:12:16.262+0800 [Initandlisten] waiting for connections on port27017" appear:
Enter http://localhost:27017 in the browser if the following is the case, it proves that MongoDB is started:
"It looks like you were trying to access MongoDB over HTTP on the native driver port."
Many times log files are better able to help us with troubleshooting and performance bottleneck analysis, so you can also specify the path to the log file (optional):
> Mongod D:\MongoDB\log\mongodb.log
The log folder D:\MongoDB\log needs to be a path that already exists, and the log file Mongodb.log is created automatically when the command finishes executing.