Instale o prompt do VestaCP: Os seguintes pacotes já estão instalados: httpd centos 7

Se o nosso VPS estiver executando o CentOS 7 e o provedor de VPS oferecer uma distribuição CentOS não pura, o Apache (httpd no CentOS) será instalado por padrão.

Isso resultará na seguinte mensagem durante a instalação do VestaCP :

  • “Os seguintes pacotes já estão instalados: httpd centos 7”
  • (já instalado o seguinte软件Pacote: 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.

Solução

Passo 1: Execute o seguinte comando

yum remove httpd 

Passo 2: Instale a ferramenta de remoção do httpd

Após executar o seguinte comando:

yum remove httpd-tools

Está tudo bem [s/N]: (Pergunta se deseja instalar?)

Digite y para instalar, você pode excluir httpd no CentOS ▼

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!

Leitura estendida:

发表 评论

您的邮箱地址不会被公开。必填项已用*标注

Voltar ao Topo