Created
April 9, 2014 09:18
-
-
Save SteveMcArthur/41e187d4620433a7a5a7 to your computer and use it in GitHub Desktop.
Install mongodb as a windows service
This file contains hidden or 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
"C:\MongoDB\bin\mongod.exe" --config "C:\MongoDB\mongod.cfg" --install | |
::mongod.cfg requires the logpath to be specified otherwise the service will no start |
This file contains hidden or 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
logpath=C:\mongodb\log\mongo.log | |
dbpath=F:\mongodb\data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment