Monday, November 19, 2012

MongoDB windows set-up

Sharing how I did my  MongoDB set-up :D

1. Download MongoDB

http://www.mongodb.org/downloads

2. Extract zip file

3.  Install and run MongoDB as service


Notes
--dbpath  :  the data folder where mongoDB would store it's Files
--logpath  : the path to the file where the service installation log would be written
--install    : installs mongoDB as a windows Service
--serviceName : obvious :P
--help  for more info

The logs below indicate that you have successfully installed mongoDB as a windowsservice


Open local services  to verify


type net start MongoDB to start the recently installed windows service

4.Check MongoDB

to view the db startup, open the log file that you used during installation. You should have something similar to the picture below:



open web admin console



Links