How to install MongoDB on Windows
MongoDB Windows Installation:
- Download last version of MongoDB for Windows
- Extract downloaded folder to the root folder of C:\
- Rename the extracted folder from mongodb-win32-* to C:\mongodb
- 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)
- 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/