Skip to content

Instantly share code, notes, and snippets.

@frontend-gist
Created July 29, 2015 20:46
Show Gist options
  • Save frontend-gist/35749d591ba3fb683476 to your computer and use it in GitHub Desktop.
Save frontend-gist/35749d591ba3fb683476 to your computer and use it in GitHub Desktop.
MongoDB
// Mongo configuration file
/etc/mongod.conf
// Start Mongo service
sudo service mongod start
// Check if Mongo is running, last line should be: "[initandlisten] waiting for connections on port 27017"
cat /var/log/mongodb/mongod.log
// Check if Mongo is running
ps aux | grep mongo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment