Jei mūsų VPS veikia su „ CentOS 7“, o VPS teikėjas siūlo ne gryną „CentOS“ distribuciją, pagal numatytuosius nustatymus įdiegiama „Apache“ (httpd „CentOS“ sistemoje).
Dėl to „VestaCP“ diegimo metu bus parodytas toks pranešimas :
- „Šie paketai jau įdiegti: httpd centos 7“
- (jau įdiegta toliau nurodyta软件Paketas: 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.
Sprendimas
1 veiksmas: paleiskite šią komandą
yum remove httpd
2 veiksmas: įdiekite httpd šalinimo įrankį
Įvykdę šią komandą:
yum remove httpd-tools
Ar tai gerai [t/n]: (Klausiama, ar įdiegti?)
Įveskite y, kad įdiegtumėte, galite ištrinti httpd 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!
Papildoma literatūra:
Tikiuosi, kad jums bus naudingas straipsnis „VestaCP raginimo diegimas: jau įdiegti šie paketai: httpd centos 7“, kuriuo pasidalino Chen Weiliang tinklaraštyje ( https://www.chenweiliang.com/ ).
Nedvejodami pasidalinkite šio straipsnio nuoroda: https://www.chenweiliang.com/cwl-691.html



