Posts

Showing posts from January 4, 2012

Installation of MongoDB on a Windows

The installation of MongoDB on a windows system is pretty simple. Step 1: Download the Binaries for Windows from  http://www.mongodb.org/downloads  (32bit or 64bit) Step 2: Unzip the file into a folder in C drive or drive of your choice . Lets name it "mongo" Step 3: Mongo stores the data in a folder "data\db", but this needs to be created manually. Lets create this on the same drive where mongo binaries unzipped files reside as in step 2. Step 4: Open Command Promopt, go the folder path where binaries was unzipped, for eg: C:\mongo\bin. Step 5: Run command "mongod" to run the database server. Step 6: You can open another command prompt with same folder path and run command "mongo", it will be connected. We start saving and querying against the database. Hope this Helps. Please leave your comments.