当前位置:网站首页>Mongodb series window environment deployment configuration

Mongodb series window environment deployment configuration

2022-06-26 13:32:00 smileNicky

I'm learning MongoDB The development environment needs to be installed and deployed before some common commands of , This blog is based on Window System introduction MongoDB Some general installation deployment configurations for

1、 Experimental environment

  • MongoDB Server5.0.9
  • Navicat15.0.28
  • RoboMongo 0.9.0
  • Window10 System

2、 download MongoDB Server

Go to the official website to download https://www.mongodb.com/try/download, choice At present Community Server 5.0.9 Version of ,Platform choice window

 Insert picture description here

3、 install MongoDB Server

Click on download after , Click on msi Format of the installation file , install MongoDB Server side , Basically is Next Always point , But there is one thing to be aware of , Pictured , It's better not to check here , Because if checked, you will visit foreign websites . So it's slow
 Insert picture description here

4、 start-up MongoDB Server

After the new version is installed, it is started by default , If you want to modify the data storage path , You can also modify it in this way

mongod.exe -dbpath="C:\Program Files\MongoDB\Server\5.0\data"

 Insert picture description here

5、 Configure environment variables

I'll just create a new one MongoDB Root path
 Insert picture description here
And then in Path Add configuration , Pictured :
 Insert picture description here
Start a cmd window , Input mongod -help View help information , Yes, print it out , Indicates that the installation and configuration is successful
 Insert picture description here

6、 Client software selection

There are many clients , such as Navicat and Robomongo

Navicat You need a higher version to support mongo The connection of , It is easy to use
 Insert picture description here
Robomongo Client software
 Insert picture description here

原网站

版权声明
本文为[smileNicky]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206261233346817.html