Skip to content

Instantly share code, notes, and snippets.

@shotaK
Forked from frontend-gist/Commands
Last active August 29, 2015 14:26
Show Gist options
  • Save shotaK/6de995ef439ae15aaaf8 to your computer and use it in GitHub Desktop.
Save shotaK/6de995ef439ae15aaaf8 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