First, resources
Mongo
Https://www.mongodb.com/download-center#community
Romongo Download:
https://robomongo.org/
The following three files, (Mongodb-compass can not be under, this is the management of MONGO with the graphical interface, accustomed to Romongo query, studio3t can learn to use their own)
Install the above software, my local MONGO installed in the D:tools\mongo directory, a new two directory to store data and logs
D:\tools\data\db and D:\tools\data\log
Second, the initialization of the work
To use commands at the command line:
--DBPath D:\tools\data\db connection Script D:\tools\mongo\bin\mongo.exe
Waiting for Connetions on port 27017 indicates successful startup and CTRL + C can be turned off
Connect to the database using a connection script (opens a new command line)
The start database command line appears with the following connector information, the connection is successful
Connect using MongoDB Compass
Romongo Connection
After the main use of Romongo for data query, where three views of the switch
Third, the configuration of MONGO
Configuring MongoDB Services
Create a configuration file located in D:\tools\mongo\mongod.cfg
The specific contents are as follows:
file path:d:\tools\data\log\mongod.logstorage:dbpath:d:\tools\data\db
Installing MongoDB Services
" D:\tools\mongo\mongod.cfg " --install
The command line requires administrator privileges, and the following log information appears without Administrator privileges
Installation Complete log information is as follows:
MONGOBD services can be found in the service.
Start MongoDB Service
Mongodb
Close MongoDB Service
Mongodb
Remove MongoDB Service
C:\mongodb\bin\mongod. --Remove
Other information on your own, now you can happily use the MONGO
Reference:
Http://www.runoob.com/mongodb/mongodb-window-install.html
Windows installation MongoDB