Liunx(彻底删除apache2)

卸载命令

apt-get --purge remove apache2.2
apt-get --purge remove apache2-doc
apt-get --purge remove apache2-utils

检测是否卸载干净

dpkg -l | grep apache2

删除多余的文件

find /etc -name "*apache*" |xargs  rm -rf 
rm -rf /var/www
rm -rf /etc/libapache2-mod-jk