Hey Guys,
In this post i would like to explain the basic installation of MongoDB
Steps to Install MongoDB
Download MongoDB file from the link https://www.mongodb.org/downloadsExtract the zip filer or install the msi file in a folder.
Updates to be made in System
Create a folder "log" inside MongoDB folder manually to store the logs.
Commands
Step-1
Now open a command prompt as an administrator and then run the following commands. By running these commands your mongoDBserver will start and logs will get saved in mongod.log file:
cd\
cd C:\MongoDB\bin
mongod --dbpath I:\Servers\data --logpath I:\Servers\logs\mongod.log
Here I:\Servers\data:you have to specified your db path and log path .
Step-2
Now to run the MongoShell or client open second command prompt normally and run the following command:c:\MongoDB\bin\mongo.exe
Cheers !!!!!
If you have any question you can ask me or else you can drop me email