Ubuntu安装Apache2很简单,只需要sudo apt-get install apache2。
但是我使用sudo apt-get remove apache2之后,说只能释放零点几k的空间,而且删除之后仍然能访问到apache服务器,可见没删掉。
后来用man apt-get 看到 apt-get 还有个参数是 autoremove ,即 sudo apt-get autoremove apache2 这下就删掉了!Ubuntu中完全删除Apache2的办法,布布扣,bubuko.com
Ubuntu中完全删除Apache2的办法
原文:http://blog.csdn.net/huntinggo/article/details/20378011