-
-
Save shotaK/6de995ef439ae15aaaf8 to your computer and use it in GitHub Desktop.
MongoDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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