Created
April 25, 2010 12:59
-
-
Save avlee/378391 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instructions for installing MongoDB as a Windows Service | |
-------------------------------------------------------- | |
1: run the following command as an administrator | |
C:\MyPath\To\MongoDB\bin\mongod.exe --install | |
2: Open the following registry location in regedit.exe | |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MongoDB | |
3: Change the ImagePath key to the following, where [extra params] are any additional parameters for mongod.exe | |
"C:\MyPath\To\MongoDB\bin\mongod.exe --service [extra params]" | |
4: Start the Mongo DB service as normal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment