This article records the steps I made to install MongoDB under the Win7 32 bit for recording.
The installation methods below refer to the following blog posts:
Http://www.cnblogs.com/lzrabbit/p/3682510.html
http://blog.csdn.net/u010214269/article/details/48024375
First, download MongoDB
: Https://fastdl. MongoDB. org/win32/MongoDB-win32-i386-2.6.9.zip
My compressed package is mongodb-win32-i386-2.6.9.zip, unzipped and put into D:\MongoDB (manually created)
(I tried to install the version now available, but I was prompted that my 32-bit computer could not be installed, so I chose this i386 version)
Second, installation
Manually create a new database folder D:\MongoDB\data
Under C:\Windows\System32 cmd.exe, right mouse button, open as administrator (this step is important)
Follow the path to the Mongodb/bin directory
Enter mongod-dbpath "D:\mongodb\data"to set up the database file automatically
Last line: Waiting for connections on port 27017, indicating a successful configuration
At this point in the browser address bar input: http://localhost:27017/, if the configuration is successful, the following page is displayed:
Here, MongoDB has been successfully installed.
Iii. Configuration Log files
Configure environment variables, join;D: \mongodb\bin
Create the log directory D:\MongoDB\log
In console input: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.
At this point, turn on the computer service, you can see the MongoDB service.
(Work required, I set him to start manually, generally set to automatic on it)
MongoDB is installed and configured, ready to use.
Windows System Installation MongoDB 32-bit