MongoDB Windows installation experience

Source: Internet
Author: User
Tags mongodb windows

Traditional relational databases are used in the past, but nowProgramThe requirement is getting higher and higher, and the data volume is getting bigger and bigger, regardless of the program or database requirements are getting higher and higher.

The latest nosql is very popular, so I will join in to learn about it.

 

I found many nosql databases on the Internet, but I still talk about MongoDB a lot.

 

Download: MongoDB database.

:Http://www.mongodb.org/downloads

 

Here, we have a version for downloading my own server. I have downloaded a 64-bit Windows server. My system is win 2008 R2 64x.

 

Installation: MongoDB Database

After downloading and decompressing the package, I decompress the package to drive F:/MongoDB.

F:/MongoDB/bin is the database operation function program provided by MongoDB.

In F:/MongoDB, you can create a new data folder to store the database.

 

Run:

Enter F: \> MongoDB \ bin \ mongod -- dbpath F: \ MongoDB \ data

MongoDB \ bin \ mongodIs to start the database service program.

-- Dbpath F: \ MongoDB \ dataPoint to the location where the database is stored (which can be modified ).

The database ports and web ports described in the last two lines are 27017 and 28017 respectively. OpenHttp: // localhost: 28017

We can see that

 
You are trying to access MongoDB on the native driver port. For HTTP diagnostic access, add 1000 to the port number

.

 

In this way, the startup is successful.

 

Operation:

Run -- "CMD and input F: \> MongoDB \ bin \ Mongo

MongoDB \ bin \ MongoIs the customer's data operation program.

 

This is the MongoDB installation process. Hope to help you!

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.