MongoDB 3.0.7 Installation Steps

Firstly, download MongoDB setup from the MongoDB Web site or by clicking on the following link. You will get the option to choose Windows operating system 32 bits or 64 bits supportive setup. Unzip extracts to your preferred location.

Example: It is saved on my system location path: C:\Program Files\MongoDB,

setup

Steps: Now, I’m going to install mongodb version MongoDB 3.0.7 setup of 64 bit in Windows 10.

  1. Double click on MongoDb Setup, and then click on Next option in setup wizard.

    1

  2. Now check the License Agreement option.

    2

  3. Select Complete option for full mongodb installation.

    3

  4. Click on Install option:

    4

  5. You can see installation processing on:

    5

  6. Click on Finish button.
          6

Now, after successful installation of MongoDB you will find that a folder named MondoDB has been created in your directory. You can find this folder here: C:\Program Files.

7

Steps to select the path of installation location or to verify that the setup installed location is correct:

8

Note: The above saved location path: C:\Program Files\MongoDB\Server\3.0\bin

Now, go to System Properties and press the Environment Variables button to check and confirm correct setup location in your system.

9

Click on Environment variables, then the below window will open. Here double click on the mongodb path to provide correct path in case it is wrong.

10

Paste our setup saved location path into if path is different.

11

In above path the mongodb setup location is correct.

Now go to Run, then Command Prompt:

Note: We need to create a default directory folder, where MongoDB will save all its data. For this open a command prompt and execute the following command.

Go to Run and then type cmd to open command prompt.

Type command: Cd c: \ and then create a folder by C:\ > md \ data\db

12

Now type MongoDB command to start MongoDB server.

13

Test connection: Use command mongo, to test connect the started MongoDB server.

14

Installation is complete.

Up Next
    Ebook Download
    View all
    Learn
    View all