1. Download the MongoDB installation package on the official website, I downloaded the 3.4.6 system for win10_64
2. Need to install vc++2015 the Win7 system is not installed during installation. Win10 installed in the last resort
3. Install MongoDB Click Install package directly next
4. Add a folder to the installed MongoDB installation directory: data/db (data storage folder), log (journal storage folder)
5. Execute command mongod--logpath "F:\MongoDB\Server\3.4\log\mongo.log"--logappend--dbpath "F:\MongoDB\Server\3.4\data\db"-- ServiceName "MongoDB"--install (two paths in the command are data/db and log folders, which means MongoDB is added to the system service)
6. No error message indicates successful installation, then start the service: net start MongoDB
7. Prompt to start successfully, enter command MONGO--shell connect MongoDB into MONGO operation
MongoDB installation Process