Mongo DB Installation Steps

MongoDB is a cross-platform document-oriented database system.MongoDB can be used as a file system, taking advantage of load balancing and data replication features over multiple machines for storing files.

Step 1: Create a folder in any directory named as "mongodb".you can choose name as
per your choice. here i have used folder name as mongodb . ex: E:\mongodb

Step 2: create folders named as "data" and "log" under newly created folder like as follows:
ex : E:\mongodb\data and E:\mongodb\log

Step 3: Create text file named as "mongod.cfg" under "E:\Mongodb\".

Step 4: Copy below command into "mongod.cfg" file like as follows

Step 5: Create text file named as "mongod.log" under "E:\Mongodb\log".

Step 6: Copy Mongod setup "mongodb-win32-x86_64-[version]" at location "E:\Mongodb\ ".

Step 7: Now Run command prompt.

Step 8: Go to Mongo DB setup Location like as follows :

Step 9: Type below command as follows :
mongod --config E:\mongodb\mongod.cfg --install
Step 10: wait for a minute while installation is going on .

Step 11: run command "net start MongoDB" like as follows:
E:\Mongodb\mongodb-win32-x86_64-[version]\bin\net start MongoDB

Step 12 : Check Mongo DB Service in services.msc and also you can verify mongodb.log file.


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: