Skip to content

Instantly share code, notes, and snippets.

@sushant-at-nitor
Created June 19, 2019 18:28
Show Gist options
  • Save sushant-at-nitor/c4908f22d3d3d5785c9f8c503fa1b200 to your computer and use it in GitHub Desktop.
Save sushant-at-nitor/c4908f22d3d3d5785c9f8c503fa1b200 to your computer and use it in GitHub Desktop.
Run MongoDb Deamon
mongod --port <desired-port> --fork --auth --bind_ip_all --dbpath ~/mongodb/qa/db/ --logpath ~/mongodb/mongod.log >> ~/mongodb/log &
## You can check the process using following command:
# => ps -edaf | grep mongo | grep -v grep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment