Detailed during mounting operation MongoDB
1. The installation package
Baidu network disk address: https://pan.baidu.com/s/135Qt-aGb4u_U82xwf1g_0w
extraction code: mtym
2.
3.
4. custom installation path
5 to complete the installation
is not finished yet 6. After the installation, like you install a wife, is not a decoration but also, by default decoration is placed in the system tray, so, we have to create two files (database path directory under mongodb installation directory: data and log path directory: logs, logs to create a log file in the file mongo.log) and a configuration file mongo.conf
7, do you think the end? Haha, do not catch anxious, impatient eat beauty, Peipei Pei, hot tofu
continue to write, mongo.conf in the following configuration, do not write the configuration word, huh, I know you want to copy, ah ha ha
8. quasi everything is ready, now, it is necessary to install a one-stop service, car slightly
open cmd, run by an administrator, or the subsequent net start mongo will be denied access
cut into the bin directory of the installation directory of the
first installation:
installation: mongod.exe --dbpath "d : \ MongoDB \ Server \ 3.4 \ data "--logpath" d: \ MongoDB \ Server \ 3.4 \ logs \ mongo.log "--install --serviceName" MongoDB "
Yes, brother, I copied out to you, paste after running Ha Enter
to start the service:
NET start MongoDB
shut down service
net stop MongoDB
uninstall the service:
mongod.exe --remove --serviceName "MongoDB"
Start the service
after the command is executed, the browser input http://127.0.0.1:27017 see the following interface starts success that is explained
so far, mongoDB installation is complete
the next installation mongoDB graphical interface Studio, network disk https://pan.baidu .com / S / 1LO_LySgz1z9ATA09kg9m5Q ,
extraction code: e11j
click run, the installation is successful, open
enter a name for this connection is a name
perfect ending, thank you