1. Download Mongodb-win32-x86_64-2008plus-ssl-v3.6-latest extract to
D:\mongodb
2.cmd = Does the path have an environment variable if not configured
3. Create D:\mongodb\data\db and D:\mongodb\logs\mongodb.log, D:\mongodb\ config\ mongod.cfg
Mongod.cfg content:
BIND_IP = 0.0.0.0
Dbpath=d:\mongodb\data
Logpath=d:\mongodb\logs\mongodb.log
Logappend=true
Directoryperdb=true
#noauth =true
#auth =true
4. Configure and install the service
#mongod--logpath d:\mongodb\logs\mongodb.log–logappend equivalence and LogPath, logappend in Cofig
Mongod.exe--config "d:\mongodb\Config\mongod.cfg" –install installation Service
Mongod.exe--remove--servicename "MongoDB" Uninstall service
5. Start the service and install the MongoDB visualizer
Net Start MongoDB
Net Stop MongoDB
MongoDB Visualization Tool:
6. Effect Display
7. Remote Backup Restore
Mongodump-h 127.0.0.1-d Library name-C table name-O D:\mongobackup
such as: Mongodump-h 192.168.1.106-d quesions-o D:\mongobackup
Mongorestore-h 127.0.0.1-d irectoryperdb f:\ mongobackup \confirm.bson
Window under MongoDB configuration