First download the MongoDB Windows Installer from the official website, choose 32-bit or 64-bit version according to your system type, and then follow the prompts to install the next step. If the installation directory is not modified, it is installed by default in the C:\Program files\mongodb directory. Find the official tools for MONGODB operations in the C:\Program files\mongodb\server\3.0\bin directory, where the Mongod application is the Management installation tool for MongoDB, MONGO is the default client software for MongoDB.
after the installation is complete, locate the computer-Properties-Advanced system settings-environment variable and add the directory where Mongod is C:\Program files\mongodb\server\3.0\bin to the system's path variable.
After you add the environment variable, create a C:\Program files\mongodb\data folder under the MongoDB installation directory C:\Program Files\mongodb , in the c \ Program Files\mongodb\data folder to create a C:\Program files\mongodb\data\db folder and a C:\Program files\ The Mongodb\data\log folder is used to store data and log files. Under the log folder, create a text file named MondoDB.log that holds the log information for MongoDB. After creation, in the Start menu-All Programs-attachments-command Prompt-right-click Run as Administrator, enter the following command at the command line:
Mongod--dbpath "C:\Program files\mongodb\data\db"--logpath "C:\Program files\mongodb\data\log\mondodb.log"-- Directoryperdb--install--servicename "MongoDB"
After the command executes successfully, continue to enter the following command under the command to start the MongoDB service
net start MongoDB
After execution completes, the installation is successful and the MongoDB is registered as a system service, and you can enter MONGO login MongoDB at the command line.
If the Windows 7 system prompts you to install the hotfix kb2731284 patch, there is a risk of a vulnerability, and Windows 8/8.1 does not need to install the patch. Software included
1, Hotfix kb2731284 Patch Http://pan.baidu.com/s/1i3Bt1y9
2. MongoDB 3.0 64bit Http://yunpan.cn/cQF2t8pBfSttJ access password da36
MongoDB Learning Note (i)--windows installing MongoDB