Ubuntu中完全删除Apache2的办法

Ubuntu安装Apache2很简单,只需要sudo apt-get install apache2

但是我使用sudo apt-get remove apache2之后,说只能释放零点几k的空间,而且删除之后仍然能访问到apache服务器,可见没删掉。

后来我看到apt-get 还有个参数是autoremove,即sudo apt-get autoremove

这下就删掉了,释放了37M空间。

自己安装LAMP麻烦,推荐安装XAMPP,装好之后LAMP都有了,而且PHP还带有很多常用的库,Apache也是带SSL的,还有FTP服务。

Share
This entry was posted in 操作系统 and tagged , , , , , , . Bookmark the permalink.

One Response to Ubuntu中完全删除Apache2的办法

  1. Admin says:

    你这个模板太难看了。赶快换换吧

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">