Ontola > Other > discussion
(Edited 07/20/2012 03:01 PM) | Report

How to install MongoDB on Windows

MongoDB Windows Installation:

  1. Download last version of MongoDB for Windows
  2. Extract downloaded folder to the root folder of C:\
  3. Rename the extracted folder from mongodb-win32-* to C:\mongodb
  4. Create two MongoDB data folders: C:\data and C:\data\db (this is default location folder for MongoDB data, you can use another location - see below)
  5. Start MongoDB - C:\mongodb\bin\mongod.exe.

You can create shorcut to mongod.exe and put it on the desktop or Start menu.
You can aslo change the data folder, for example create data folders in c:\mongodb folder - C:\mongodb\data and C:\mongodb\data\db and change Target field in the shortcut to:

C:\mongodb\bin\mongod.exe --dbpath c:\mongodb\data

For more info see http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/

Topics: MongoDB


No regstration needed to add reply
Insert: Picture