Wenn auf unserem VPS CentOS 7 läuft und der VPS-Anbieter eine nicht ganz reine CentOS-Distribution anbietet, wird Apache (httpd in CentOS) standardmäßig installiert.
Dies führt während der VestaCP-Installation zu folgender Eingabeaufforderung:
- „Folgende Pakete sind bereits installiert: httpd centos 7“
- (Folgendes bereits installiert软件Paket: 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.
Lösung
Schritt 1: Führen Sie den folgenden Befehl aus
yum remove httpd
Schritt 2: Installieren Sie das httpd-Entfernungstool
Nach Ausführung des folgenden Befehls:
yum remove httpd-tools
Ist das in Ordnung [j/N]: (Fragt, ob es installiert werden soll?)
Geben Sie zum Installieren y ein, Sie können httpd in CentOS ▼ löschen
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!
Erweiterte Lektüre:
Hoffentlich ist Ihnen der Artikel „Installation von VestaCP prompt: Folgende Pakete sind bereits installiert: httpd centos 7“, der auf Chen Weiliangs Blog ( https://www.chenweiliang.com/ ) veröffentlicht wurde, hilfreich.
Sie können den Link zu diesem Artikel gerne teilen: https://www.chenweiliang.com/cwl-691.html



