MongoDB 完全新手教學 -6-centos 7 移除MongoDB

下午3:44:00


1.Stop Mongo DB using -
sudo service mongod stop
2.Remove Packages using -
sudo yum erase $(rpm -qa | grep mongodb-org)
3.Remove Data Directories using -
sudo rm -r /var/log/mongodb
sudo rm -r /var/lib/mongo

技術提供:Blogger.