1、卸载Apache2的几个命令
sudo apt-get --purge remove apache2
sudo apt-get --purge remove apache2.2-common
或直接使用一条命令sudo apt-get autoremove apache2(这种方法不能彻底卸载)
2、卸载Mysqlsudo aptitude purge mysql-server mysql-server-5.0
3、卸载Php5sudo apt-get autoremove php5
4、批量删除组件及相关#apt-get remove --purge apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5
#apt-get remove --purge libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off
#apt-get remove --purge libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common
#apt-get remove --purge mysql-server mysql-server-5.0 php5-common php5-mysql
命令就是这些,具体含义可上网查询。