Instalirajte VestaCP upit: Sljedeći paketi su već instalirani: httpd centos 7

Ako naš VPS koristi CentOS 7, a pružatelj VPS-a nudi ne baš čistu CentOS distribuciju, Apache (httpd u CentOS-u) se instalira prema zadanim postavkama.

To će rezultirati sljedećim upitom tijekom instalacije VestaCP-a :

  • “Sljedeći paketi su već instalirani: httpd centos 7”
  • (već je instalirano sljedeće软件Paket: 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.

Riješenje

Korak 1: Pokrenite sljedeću naredbu

yum remove httpd 

Korak 2: Instalirajte alat za uklanjanje httpd-a

Nakon izvršavanja sljedeće naredbe:

yum remove httpd-tools

Je li ovo u redu [d/n]: (Pita treba li instalirati?)

Unesite y za instalaciju, možete izbrisati httpd u CentOS-u ▼

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!

Prošireno čitanje:

发表 评论

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

Dođite na vrh