Last active
August 29, 2015 14:21
-
-
Save albankora/891c2424babb5df6313c to your computer and use it in GitHub Desktop.
Ubuntu Remove servers
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
#Remove Apache | |
sudo apt-get remove apache2 | |
#Remove Nginx | |
sudo apt-get purge nginx nginx-common | |
sudo apt-get autoremove | |
sudo apt-get autoclean | |
# Remove Mysql | |
sudo apt-get remove --purge mysql-server mysql-client mysql-common | |
sudo apt-get autoremove | |
sudo apt-get autoclean | |
#remove PHP | |
sudo aptitude purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment