MongoDB Home Page http://www.mongodb.org/
1, first on the internet to download a MongoDB installation package, and then open the cmd command, find the path of your mongodb files, into the MongoDB file under the Lib file, and finally executed under the cmd command
Mongod.exe--dbpath D:\mongodbData (You create a new folder, the MongoDB folder is a data file, the path is D:\mongodbData)
Mongod.exe server run the execution file can set the port number of MongoDB, data file storage directory, etc.
Mongo.exe a query that the client uses to connect to MongoDB and make relevant data
(Cmd does not turn off)
2, new open a CMD input: cd D:\mongodb\bin>mongo.exe, if the following prompt, you installed successfully,
MongoDB Shell version v3.4.2
Connecting to:mongodb://127.0.0.1:27017
MongoDB Server version:3.4.2
Server has startup warnings:
2017-03-11t21:23:45.843+0800 I CONTROL [Initandlisten]
2017-03-11t21:23:45.843+0800 I CONTROL [initandlisten] * * warning:access CONTR
OL is not enabled for the database.
2017-03-11t21:23:45.844+0800 I CONTROL [initandlisten] * * Read and WRI
Te access to data and configuration is unrestricted.
2017-03-11t21:23:45.845+0800 I CONTROL [Initandlisten]
2017-03-11t21:23:45.846+0800 I CONTROL [Initandlisten] Hotfix KB2731284 or late
R Update is not installed, would zero-out data files.
2017-03-11t21:23:45.846+0800 I CONTROL [Initandlisten]
3. Exit test
Exit (enter Exit to exit)
Bye (prompt to exit)
How MongoDB Detects installation success