Skip to content

Instantly share code, notes, and snippets.

@albankora
Last active August 29, 2015 14:21
Show Gist options
  • Save albankora/891c2424babb5df6313c to your computer and use it in GitHub Desktop.
Save albankora/891c2424babb5df6313c to your computer and use it in GitHub Desktop.
Ubuntu Remove servers
#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