Kung ang ating VPS ay gumagamit ng CentOS 7, at ang VPS provider ay nag-aalok ng hindi gaanong purong CentOS distribution, ang Apache (httpd sa CentOS) ang naka-install bilang default.
Magreresulta ito sa sumusunod na prompt habang ini-install ang VestaCP :
- "Naka-install na ang mga sumusunod na package: httpd centos 7"
- (na-install na ang sumusunod软件Package: 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.
Solusyon
Hakbang 1: Patakbuhin ang sumusunod na utos
yum remove httpd
Hakbang 2: I-install ang tool sa pag-alis ng httpd
Pagkatapos isagawa ang sumusunod na utos:
yum remove httpd-tools
Ayos lang ba ito [y/N]: (Nagtatanong kung i-install?)
Ipasok ang y upang mai-install, maaari mong tanggalin ang httpd sa 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!
Pinalawak na pagbabasa:
Sana ay makatulong sa iyo ang artikulong "Installation of VestaCP prompt: Following packages are already installed: httpd centos 7" na ibinahagi sa blog ni Chen Weiliang ( https://www.chenweiliang.com/ ).
Huwag mag-atubiling ibahagi ang link ng artikulong ito: https://www.chenweiliang.com/cwl-691.html



