Created
September 12, 2013 03:33
-
-
Save victorreyesh/6532791 to your computer and use it in GitHub Desktop.
When you have mongo db installed, this is the quick way/ cheat sheet to get it up and running
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
// Run these commands in Terminall | |
Stop mongodb service | |
sudo service mongodb stop | |
//Remove mongodb lock file | |
sudo rm /var/lib/mongodb/mongod.lock | |
//Change ownership from root to mongodb path | |
sudo chown -R mongodb:mongodb /var/lib/mongodb/ | |
Start mongodb service | |
sudo service mongodb start | |
Test mongo app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment