如果我们的VPS安装的Linux系统是 CentOS 7,同时VPS供应商提供的不是很纯净的CentOS发行版,默认情况下是安装了Apache(CentOS中的httpd)。
这样,在Nruab VestaCP时,就会出现如下提示:
- “Following packages are already installed: httpd centos 7”
- (已经安装了以下Software包:httpd centos 7)
!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! Following packages are already installed: httpd It is highly recommended to remove them before proceeding. If you want to force installation run this script with -f option: Example: bash vst-install-rhel.sh --force !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! Error: Control Panel should be installed on clean server.
Tshuaj
Kauj ruam 1:运行以下命令
yum remove httpd
Kauj ruam 2:安装httpd删除工具
在执行以下命令后:
yum remove httpd-tools
Is this ok [y/N]: (询问否安装?)
输入 y 安装,就能删除掉 CentOS 中的 httpd ▼
Installed size: 9.5 M Is this ok [y/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Erasing : httpd-2.4.6-67.el7.centos.6.x86_64 1/2 warning: /etc/httpd/conf/httpd.conf saved as /etc/httpd/conf/httpd.conf.rpmsave Erasing : httpd-tools-2.4.6-67.el7.centos.6.x86_64 2/2 Verifying : httpd-2.4.6-67.el7.centos.6.x86_64 1/2 Verifying : httpd-tools-2.4.6-67.el7.centos.6.x86_64 2/2 Removed: httpd-tools.x86_64 0:2.4.6-67.el7.centos.6 Dependency Removed: httpd.x86_64 0:2.4.6-67.el7.centos.6 Complete!
Kev nyeem ntawv txuas ntxiv:
Cia siab Chen Weiliang Blog ( https://www.chenweiliang.com/ ) 分享的《安装VestaCP提示:Following packages are already installed: httpd centos 7》,对您有帮助。
Zoo siab txais tos los qhia qhov txuas ntawm kab lus no:https://www.chenweiliang.com/cwl-691.html



