At the beginning of the installation of the time still feel very simple really loaded when the information on the Internet is uneven again to organize a installation method
Separately to download MongoDB and Robomongo The author here is MONGO 3.0.5 Robomongo is 0.8.5, respectively, has been confirmed after the installation of Robomongo first without tube
First MongoDB needs to create its own database manually
I am here to create a MongoDB folder in the D disk and then create the data folder under it
Create the DB and log folders under Data
At this point, create an empty. log file under Log to hold the log files generated by the MONGO runtime
Next let's go back to MongoDB's installation directory under bin
Holding down SHIFT and then pressing the right mouse button will open a command window here
Tap Mongod--dbpath D:\mongodb\data\db in the command window to start the MONGO service you can access it without changing the port number
http://localhost:27017 to confirm the service startup
Press MONGO in the command window to access the database (the relevant command of the database to find out more about it) use Crtl+c to exit the database
The next thing we want to do is set MongoDB as a service so that it can boot up or we'll have to open it manually every time.
First create a new file under D:\mongodb mongo.config
Add dbpath=d:\mongodb\data\db logpath=d:\mongodb\log\mongo.log in config as
Save after exiting (config file can also add more parameters of its meaning usage can be self-search to understand that there is no more to say)
Then enter the command line in the bin directory
Mongod--logpath "D:\mongodb\data\log\log.log"--logappend--dbpath "D:\mongodb\data\db"--directoryperdb--install
Press ENTER after the successful registration of a MONGO service will start at the time of self-initiated at the command line input services.msc will see the process in the process
In this way, the installation of MongoDB is also completed and can start the service on its own at boot time.
You can delete the registered MONGO service by entering SC Delete at the command line.
Then just open the command line in the bin directory to enter MONGO
You can go to the database and open the Robomongo create a connection to the graphical interface operation database
This installation is basically done
installation of (Windows) Mongodb3x+robomongo