弊社VPS導入の場合Linuxシステムです CentOSの 7. 同時に、VPS プロバイダーはそれほど純粋ではない CentOS ディストリビューションを提供しており、Apache (CentOS では httpd) がデフォルトでインストールされています。
したがって、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 / N]: (インストールするかどうか尋ねますか?)
y を入力してインストールします。CentOS では httpd を削除できます ▼
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!
拡張読書:
Hope Chen Weiliang ブログ ( https://www.chenweiliang.com/ ) 「VestaCP のインストールのヒント: 次のパッケージは既にインストールされています: httpd centos 7」を共有しました。これは役に立ちます。
この記事のリンクを共有することを歓迎します。https://www.chenweiliang.com/cwl-691.html



