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