长话短说,我不得不将运行中的bugzilla版本从Windows移到Ubuntu。昨天我运行了bugzilla的新安装,但是当我试图将数据导入时,css和脚本没有正确显示站点。我尝试设置文件和目录的所有者和用户,我发现apache存在权限问题。我试着从bugzilla那里得到帮助,但是没有人给出正确的答案。我认为,如果我删除apache并重新安装它,它将修复安全性问题。我错了吗!
我已经试过4-5次了,
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
sudo apt-get autoremove
whereis apache2然后用
sudo rm -rf /etc/apache2 在由whereis命令生成的任何目录上。现在,我无法在系统上安装apache2。下面是我的最后一次安装尝试:
$ apt-get install --only-upgrade apache 2
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version (2.4.18-2ubuntu3.5).
0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
$ sudo service apache2 restart什么都不回。
发布于 2018-02-22 04:48:37
这就是我为解决这个问题所做的:
apt-获取删除apache2*
然后跟着
apt-获取安装apache2
https://askubuntu.com/questions/1008531
复制相似问题