I-install ang VestaCP prompt: Naka-install na ang mga sumusunod na package: httpd centos 7

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:

发表 评论

您的邮箱地址不会被公开。必填项已用*标注

Mag-scroll sa Tuktok