Skip to content

Instantly share code, notes, and snippets.

@RoesWibowo
Created June 11, 2016 07:24
Show Gist options
  • Save RoesWibowo/4d35e6f9dd6023a184a7916b60c350fa to your computer and use it in GitHub Desktop.
Save RoesWibowo/4d35e6f9dd6023a184a7916b60c350fa to your computer and use it in GitHub Desktop.
MongoDB Windows
mongod -f "D:\Playground\mongodb\server.conf"
--install --serviceName mdb27017
--serviceDisplayName "MongoDB Server Instance 27017"
--serviceDescription "MongoDB Server Instance running on 27017"
mongod -f "D:\Playground\mongodb\server.conf"
--remove --serviceName mdb27017
--serviceDisplayName "MongoDB Server Instance 27017"
--serviceDescription "MongoDB Server Instance running on 27017"
dbpath = D:\Playground\mongodb\data
logpath = D:\Playground\mongodb\mongo.log
port = 27017
mongod -f "D:\Playground\mongodb\server.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment