Windows32 bit: https://www.mongodb.org/dl/win32/i386 (official online Windows only 64-bit)
Reference Blog: https://www.cnblogs.com/chenyucong/p/6217017.html
Installation steps:
1. Download the zip archive to unzip and copy the extracted files to the disk you want to store (e.g. D:\mongodb\mongodb)
2. Manually create the Data folder for the database file
3.cmd CD to Bin directory input Mongod-dbpath d:\mongodb\data--storageengine=mmapv1 Enter (I did not add--storageengine=mmapv1 always error (Storage engine errors) , reason reference: http://blog.csdn.net/u013457382/article/details/50775268)
As the last line: Waiting for connections on port 27017, indicating a successful configuration
You can now access such as:
4. Configure the environment variable to add the path to the bin after path (e.g.:;D: \mongodb\mongodb\bin (Must have a semicolon in front))
5. Create a log folder
Because the environment variable is configured, you can open a new cmd input directly:
Mongod--dbpath "D:\mongodb\data"--logpath "D:\mongodb\log\MongoDB.log"--install--servicename "MongoDB"--journal
Then, enter: Net start MongoDB, you can start the service, you can also use net stop MongoDB to shut down the service.
Shown below:
View Services:
MongoDB Download Installation