mongodb-Installation and Configuration

Source: Internet
Author: User



recently we have formed a team to usher in our BS a new project, Campus video management, mentions video, a lot of people have thought of MONGODDB , at that time very ignorant, do not know what to do, so go to see all kinds of information, think of first install a play.

Read all kinds of information, just know, with SQL Server installation is different, so the installation and configuration process is documented.

1.(select the appropriate version to install):

Http://www.mongodb.org/downloads

2. Installation:

( 1 ) in D disk (other disks can also) create a new folder and copy the contents of the folder within the downloaded installation package to the new folder. :

( 2 ) and create a new folder to store Mongoliabd the data.

3. Start the database service

(1) shortcut key Win+r, enter cmd to Open the Command window, enter the following command:

( 2 The carriage return appears as follows to start success:

4. Configure environment variables (avoid The need to enter a specific path when executing a program under the Bin folder)

( 1 ) to copy the new folder Mongoliabd the path below.

(2) Locate the environment variable in the control Panel

( 3 ) Select Path to edit:

Click OK to set the environment variable to success!

this way, when you start the service, you only need to enter Mongod The program name does not require a specific path to be entered, and the corresponding execution program can be found:

     

You can still start success!

MongoDB The document model is free and flexible, for large data volumes, high concurrency Internet applications to respond freely, and our project needs very well, we have the opportunity to learn new things this time. MongoDB 's learning has only just begun.


mongodb-Installation and Configuration

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.