如果我们的VPS安装的Linux系统是 CentOS 7,同时VPS供应商提供的不是很纯净的CentOS发行版,默认情况下是安装了Apache(CentOS中的httpd)。
这样,在安装VestaCP时,就会出现如下提示:
- “Following packages are already installed: httpd centos 7”
- (已经安装了以下软件包: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.
解决方法
第 1 步:运行以下命令
yum remove httpd
第 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!
扩展阅读:
希望陈沩亮博客( https://www.chenweiliang.com/ ) 分享的《安装VestaCP提示:Following packages are already installed: httpd centos 7》,对您有帮助。
欢迎分享本文链接:https://www.chenweiliang.com/cwl-691.html
喜欢就分享和按赞!您的分享和按赞,是我们持续的动力!