Instalar VestaCP: os seguintes paquetes xa están instalados: httpd centos 7

Se o noso VPS está instaladoLinuxO sistema é CentOS 7. Ao mesmo tempo, o provedor de VPS ofrece unha distribución CentOS non moi pura e Apache (httpd en CentOS) está instalado por defecto.

Así, enInstalar VestaCP, aparecerá o seguinte aviso:

  • "Os seguintes paquetes xa están instalados: httpd centos 7"
  • (xa instalou o seguinteSoftwarePaquete: 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.

Solución

Paso 1:executa o seguinte comando 

yum remove httpd 

Paso 2:Instala a ferramenta de eliminación de httpd

Despois de executar o seguinte comando:

yum remove httpd-tools

Está ben [s/n]: (Preguntar se instalar?)

Introduce y para instalar, podes eliminar httpd en 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!

Lectura ampliada:

发表 评论

O teu enderezo de correo electrónico non será publicado. Utilízanse os campos obrigatorios * Etiqueta

Volver arriba