Instale el aviso de VestaCP: Los siguientes paquetes ya están instalados: httpd centos 7

Si nuestro VPS está instaladoLinux系统是 CentOS 7. Al mismo tiempo, el proveedor de VPS proporciona una distribución CentOS no muy pura, que tiene instalado Apache (httpd en CentOS) por defecto.

Así, enInstalar VestaCP, aparecerá el siguiente mensaje:

  • “Los siguientes paquetes ya están instalados: httpd centos 7”
  • (ya instalado el siguiente软件Paquete: 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:ejecuta el siguiente comando 

yum remove httpd 

Paso 2:Instalar la herramienta de eliminación de httpd

Después de ejecutar el siguiente comando:

yum remove httpd-tools

¿Está bien [t/n]: (Pregunte si instalar?)

Ingrese y para instalar, puede 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 extendida:

发表 评论

Su dirección de correo electrónico no será publicada. 项 已 用 * 标注

Ir al Inicio