在Ubuntu上安装新的Apache2

时间:2016-02-05 08:09:41

标签: ubuntu apache2

我在Ubuntu上卸载了一个损坏的Apache2,当我重新安装Apache2时,它将恢复与旧版本相同的文件。

我想重新安装apache2。

enter image description here

1 个答案:

答案 0 :(得分:0)

使用sudo apt-get uninstall是不够的,这将保留配置 要完全卸载,请使用sudo apt-get purge apache2

您可能也有兴趣阅读this Q&A on the Ubuntu Stack Exchange site,其中包含同样的问题。

相关问题