Skip to content

Instantly share code, notes, and snippets.

@rvmladenov
Created February 26, 2015 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rvmladenov/0fa8b79ad2b8d9d7ecd0 to your computer and use it in GitHub Desktop.
Save rvmladenov/0fa8b79ad2b8d9d7ecd0 to your computer and use it in GitHub Desktop.
Settings for adding MongoDB as a Windows Service
1/ Add the bin folder to the Windows Path
2/ mongod --remove
3/ "mongod --dbpath=D:\mongodb --logpath=D:\mongodb\log.txt --install" Where 'D:\mongodb' is the mongodb install folder
4/ Open win services (in cmd execute "services.msc") and start the MongoDB service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment