【问题标题】:how to fix apache2 installation in ubuntu 18.04如何在 ubuntu 18.04 中修复 apache2 安装
【发布时间】:2019-10-31 10:23:38
【问题描述】:

我使用 ubuntu 18.04 卸载了 apache2,以便重新安装它。我使用了 sudo apt-get purge apache2。 然后我使用 Whereis apache2 搜索了剩余的 apache 文件,并使用 sudo rm -rf 手动删除了包含 apache 文件夹的路径,然后是文件的路径。

  • sudo rm -rf /etc/apache2
  • sudo rm -rf /usr/sbin/apache2
  • sudo rm -rf /usr/lib/apache2

我重新安装了 apache,但这些文件夹不再安装在 etc 和我从中删除它们的其他路径中。 如何正确重新安装 apache。

【问题讨论】:

    标签: apache ubuntu server failed-installation reinstall


    【解决方案1】:

    本指南将引导您完成:https://help.ubuntu.com/lts/serverguide/httpd.html

    它应该在 /etc/apache2 中放置了新文件。您在安装过程中是否遇到错误?

    【讨论】:

      猜你喜欢
      • 2016-03-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-26
      • 2020-01-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多