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 这下就删掉了!
---------------------
作者:HuntingGo
来源:CSDN
原文:https://blog.csdn.net/huntinggo/article/details/20378011
版权声明:本文为博主原创文章,转载请附上博文链接!