1. Download MongoDB installation package, the official website download speed is relatively slow, Baidu Cloud installation package Link: http://pan.baidu.com/s/1geVQ8Xt Password: 8o5i
2.python installation Pymongo I am in the Python Scripts directory pip install Pymongo
3. Install MongoDB, I was installed in the e-drive. E:\MongoDb\ Create the log folder, create the Mongodb.log, create the Dada folder under E:\MongoDb\, and create the DB folder. Log,data in the same location as the bin
Enter a command in the bin directory
Note to start the command line by using administrator mode
So there's MongoDB service in the service.
E:\mongodb\bin>mongod--logpath "E:\MongoDb\log\mongodb.log"--logappend--dbpath "E:\MongoDb\data\db"-- Directoryperdb--servicename "MongoDB"--servicedisplayname "MongoDB"--install
4. Start MongoDB Service
net start MongoDB
3bin directory Mongod.exe--config E:\MongoDB\mongo.config, without closing
4, open another bin directory under MONGO
MongoDB Download and connect