Quantcast
Channel: Aafrin.com » Web
Viewing all articles
Browse latest Browse all 12

5 Minutes – Quick Setup Guide To Run MongoDB In Windows 7/8

$
0
0

Here is a short tutorial on setting up and running MongoDB in your windows machine. Please follow the steps below and feel free to leave comment, if there is any suggestion or issues encounterd during the MongoDB setup.

Steps:

  1. If you are running either Windows 7 or Windows 2008 R2, Please download and install the following hotfix in your machine. The hotfix resolves an issue with memory mapped files on Windows machine.
  2. Once the hotfix is installed, download the latest production release of MongoDB from the MongoDB’s downloads page.
  3. Extract the downloaded file into the root of you C:/ drive. The folder path should be C:/mongodb as shown in the screenshot below:-
  4. Once the files are extracted, created another folder on the C:/ root called data and a sub-folder within it labelled db. The db folder is where all your collections will be stored.
  5. Open the command prompt in your machine and navigate to the mongodb folder located on the following path C:/mongodb.
  6. Run the command mongod to start the mongodb server or mongod –rest to enable the web access. If you have enabled the web access, you can access it via the following URL http://127.0.0.1:28017/

Viewing all articles
Browse latest Browse all 12

Trending Articles