Saturday, February 27, 2016

Step to install Mongodb

Step to install Mongodb:
1.  Install the mongo db by clicking on “mongodb-win32-x86_64-2008plus-2.6.3-signed.exe”
2. create “MongoDB” folder in D:\ drive.
3. Create two folders named Data and Log within MongoDB folder.
4. Create Mongo.log file in Log Folder.
5. Create “mongodbconfig.cfg” file in D:\ MongoDB floder.
6. run the below command
C:\Program Files\MongoDB\bin\mongod.exe --config "D:\MongoDB\Mongodbconfig.cfg" –install
7. go to services.msc and start the mongodb service.

That’s it. Mongo db is installed and started.

Validation:


INSTALL MONGODB Resources: