MongoDB: https://www.mongodb.com/download-center#community;
MongoDB download After the installation, choose Custom Installation, installed into a root directory, such as c,d,e,f disk;
After MongoDB is installed, there will be a bin folder in the root directory just defined;
MongoDB connection command: 1.cd bin,2.mongod.exe--dbpath e:\data\db\
(explained here) after installing MongoDB to customize the installation is because everyone is likely to find no where to go; after the installation of the Bin folder is basically installed in the application files, that is, ". exe" end of the file; To connect to MongoDB need to borrow cmd command box, First find the Bin folder where, and then the opposite of the application to operate; The database needs to be executed Mongod.exe "--" followed by specifying where you want to save the database resources.
Next is the operation on MongoDB. Many tutorials are very simple to write, but in fact, after connecting to the database, but also open a cmd command box, in order to successfully execute the command to operate the database in the case of the database. The cmd command box that is connected to the database cannot do anything.
There are many commands for database operations on MongoDB, where n characters are omitted.
After the MongoDB download is installed, there will be a leaf-shaped application that appears in all programs in the Start menu and opens to visualize your MongoDB database. MongoDB is very user-friendly, JS can operate (Nodejs execution), command can operate, visual window can also operate.
In the comprehensive.
MongoDB Installation and command operation