Windows System Installation MongoDB 32-bit

Source: Internet
Author: User
Tags install mongodb

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.