Om vår VPS är installeradLinux系统是 CentOS 7. Samtidigt tillhandahåller VPS-leverantören en inte särskilt ren CentOS-distribution, och Apache (httpd i CentOS) är installerad som standard.
Alltså iInstallera VestaCP, kommer följande prompt att visas:
- "Följande paket är redan installerade: httpd centos 7"
- (har redan installerat följandeSoftwarePaket: 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ösning
steg 1:kör följande kommando
yum remove httpd
steg 2:Installera httpd-borttagningsverktyget
Efter att ha utfört följande kommando:
yum remove httpd-tools
Är detta ok [y/N]: (Fråga om du vill installera?)
Ange y för att installera, du kan ta bort httpd i 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!
Utökad läsning:
Hope Chen Weiliang blogg ( https://www.chenweiliang.com/ ) delade "Installera VestaCP Tips: Följande paket är redan installerade: httpd centos 7", vilket är användbart för dig.
Välkommen att dela länken till denna artikel:https://www.chenweiliang.com/cwl-691.html



