Якщо наш VPS працює під керуванням CentOS 7, а постачальник VPS пропонує не зовсім чистий дистрибутив CentOS, Apache (httpd у CentOS) встановлюється за замовчуванням.
Це призведе до появи наступного запиту під час встановлення VestaCP :
- «Такі пакети вже встановлено: httpd centos 7»
- (вже встановлено наступне软件Пакет: 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.
Рішення
Крок 1: Виконайте таку команду
yum remove httpd
Крок 2: Встановіть інструмент видалення httpd
Після виконання такої команди:
yum remove httpd-tools
Це нормально [так/ні]: (Запитує, чи встановлювати?)
Введіть y для встановлення, ви можете видалити 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!
Розширене читання:
Сподіваюся, стаття «Запит на встановлення VestaCP: Наступні пакети вже встановлено: httpd centos 7», опублікована в блозі Ченя Вейляна ( https://www.chenweiliang.com/ ), буде вам корисною.
Не соромтеся поділитися посиланням на цю статтю: https://www.chenweiliang.com/cwl-691.html



