Jeśli na naszym VPS-ie zainstalowany jest system CentOS 7, a dostawca VPS oferuje dystrybucję CentOS, która nie jest do końca czysta, domyślnie instalowany jest serwer Apache (httpd w systemie CentOS).
Podczas instalacji VestaCP pojawi się następujący monit :
- „Następujące pakiety są już zainstalowane: httpd centos 7”
- (już zainstalowano następująceOprogramowaniePakiet: 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.
Rozwiązanie
Krok 1: Uruchom następujące polecenie
yum remove httpd
Krok 2: Zainstaluj narzędzie do usuwania httpd
Po wykonaniu następującego polecenia:
yum remove httpd-tools
Czy to jest OK [t/N]: (Pyta, czy zainstalować?)
Wpisz y, aby zainstalować, możesz usunąć httpd w 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!
Rozszerzona lektura:
Mamy nadzieję, że artykuł „Instalacja VestaCP prompt: Następujące pakiety są już zainstalowane: httpd centos 7” udostępniony na blogu Chen Weilianga ( https://www.chenweiliang.com/ ) będzie dla Ciebie pomocny.
Możesz udostępnić link do tego artykułu: https://www.chenweiliang.com/cwl-691.html



