Si notre VPS exécute CentOS 7 et que le fournisseur de VPS propose une distribution CentOS moins pure, Apache (httpd dans CentOS) est installé par défaut.
Cela entraînera l'affichage du message suivant lors de l'installation de VestaCP :
- "Les packages suivants sont déjà installés : httpd centos 7"
- (déjà installé les éléments suivants软件Paquet : 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.
Solution
Étape 1 : Exécutez la commande suivante
yum remove httpd
Étape 2 : Installez l’outil de suppression httpd
Après avoir exécuté la commande suivante :
yum remove httpd-tools
Est-ce que cela vous convient [o/N] : (Demande s’il faut installer ?)
Entrez y pour installer, vous pouvez supprimer httpd dans 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!
Lecture complémentaire :
J'espère que l'article « Installation de l'invite VestaCP : Les paquets suivants sont déjà installés : httpd centos 7 » publié sur le blog de Chen Weiliang ( https://www.chenweiliang.com/ ) vous sera utile.
N'hésitez pas à partager le lien de cet article : https://www.chenweiliang.com/cwl-691.html



