Created
January 10, 2017 02:43
-
-
Save iworkforthem/4981da2e587b921edd7257dcbbb43945 to your computer and use it in GitHub Desktop.
remove mongodb on amazon ec2.
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
sudo service mongod stop | |
sudo yum erase $(rpm -qa | grep mongodb-org) | |
sudo rm -r /var/log/mongodb | |
sudo rm -r /var/lib/mongo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍