当前位置:网站首页>Mongodb installation

Mongodb installation

2022-06-11 06:28:00 Saucey_ six

Installation steps ( As for success, it depends on nature )

Portal In fact, this reference source is very clear , You can also refer to .

  1. download :https://www.mongodb.com/download-center#community ( Select the corresponding version to download , No registration , Download for .msi file , Double click the file , Install according to the operating instructions )
    Be careful : choice Custom, It is best to remember the following installation Installation address , Because the following configurations are based on address .
  2. Create a data directory ( The data directory is placed under the root directory , That is to say, with your mongodb Installation address At the same level .)
    notes :mkdir data ——>cd data ——> mkdir db and mkdir log
  3. Run... From the command line MongoDB service : Insert picture description here
  4. Successful connection
     Insert picture description here
  5. To configure MongoDB service
    notes : Open the command line window in administrator mode , create profile C:\Program Files\MongoDB\Server\4.0\mongod.cfg. Appoint systemlog.path and storage.dbPath.
     Insert picture description here
  6. install mongodb service .
     Insert picture description here
  7. The next step is to start MongoDB service
     Insert picture description here
    ** The installation address is very important ,** To configure MOngoDB Service is to start the server faster , So run from the command line MongoDB Server and configuration MongoDB The service can be started in any way ok.( That is to say, the above steps , You execute to 4 You can connect successfully .)

MongoDB Background management shell.( I have refused access since I started it once .( Smiling face )) Insert picture description here

mongodb Visualization tools :

 Insert picture description here
It's fun !!!

原网站

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