Http://www.webiyo.com/2011/02/install-mongodb-service-on-windows-7.html
Download MongoDB
You can download MongoDB in the different editions viz.
32bit MongoDB Direct Download | 64bit Direct download
Installation–initial Setup
- Download & Extract MongoDB anywhere.
- Rename & Copy folder structure to C: \ Drive.
- Like, C:\mongodb165
- Add folder
C:\mongodb165\Data
and
C:\mongodb165\Logs
- ADD log file mongolog.txt here at,
C:\mongodb165\logs\mongolog.txt
MongoDB Windows Service Installation
- Go to C:\mongodb165\bin
- Run mongod.exe with given parameters
mongod--install--auth-- Rest–master–logpath=c:\mongodb165\ logs\mongolog.txt
- Edit Registry Settings, run regedit from Start menu.
- Go to
HKEY_LOCAL_MACHINE >> SYSTEM >> CurrentControlSet >> Services
- Find out Mon Godb directory & edit imagepath key
- Set value as
c: \ Mongodb165\bin\mongod--service --rest --master --logpath=c:\mongodb165\logs\mongolog.txt - -dbpath=c:\mongodb165\data
- Save and Exit Registry Editor.
- Open componentservices from Start >> Run
- Click on Services (Local) & Find out MongoDB service
- Start the service as described below.
- Check at http://localhost:28017/ to See, MongoDB should return stats.
It is the advisable to the edition of MongoDB if you are running 64bit OS.
32bit system has it ' s own limitations.
Comments is welcomed!!!
[Go] Modify the registry to add MongoDB to system services