MongoDB to solve the problem occurred during installation and installation

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. Here Insert Picture Description
3. Here Insert Picture Description
4. custom installation path Here Insert Picture Description
5 to complete the installation Here Insert Picture Description
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
Here Insert Picture Description
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
Here Insert Picture Description
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 Here Insert Picture Description
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
Here Insert Picture Description
Here Insert Picture Description
enter a name for this connection is a name
Here Insert Picture Description
Here Insert Picture Description
perfect ending, thank you

Published an original article · won praise 0 · Views 25

Guess you like

Origin blog.csdn.net/qq_43550852/article/details/104956989