CentOS Web Panelインターフェースは、Apacheを再構築する可能性を提供します。 ApacheWebサーバーのバージョンを簡単に切り替えることができます。
別のApacheWebサーバーバージョンをビルドするには、次のようにします。
- CWPにログインします
- Apache設定->Apache再構築を検索します
- Apache Webサーバーに関する詳細がいくつか表示されます
Server version: Apache/2.4.28 (Unix) Server built: Mar 31 2018 07:01:32 Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_event_module (static) authn_file_module (shared) authn_core_module (shared) authz_host_module (shared) authz_groupfile_module (shared) authz_user_module (shared) authz_core_module (shared) access_compat_module (shared) auth_basic_module (shared) reqtimeout_module (shared) filter_module (shared) mime_module (shared) log_config_module (shared) env_module (shared) headers_module (shared) unique_id_module (shared) setenvif_module (shared) version_module (shared) proxy_module (shared) proxy_connect_module (shared) proxy_http_module (shared) unixd_module (shared) status_module (shared) autoindex_module (shared) dir_module (shared) userdir_module (shared) alias_module (shared) rewrite_module (shared) rpaf_module (shared) ssl_module (shared) suphp_module (shared)
- ページの下に、新しいApacheバージョンの選択:が表示されます。 分野。ドロップダウンリストから、ビルドするApache構成を選択します。 次へをクリックします ボタン。
- 次のページで、必要な追加の構成を入力します。 バックグラウンドでコンパイラを起動をクリックします ボタン。メッセージが表示されます:Apacheコンパイラがバックグラウンドで起動しました。次のコマンドを使用して、コンソールからApacheの再構築を監視できます:tail-f/var/log/apache-rebuild.log。 nginxやニスを使用している場合は、仮想ホストを再構築する必要もあります!
- 数分間待ってから、CWP->ダッシュボードに移動します アプリケーションバージョンを見てください セクション。そこに新しいApacheバージョンが表示されます。また、次のメッセージが表示されます。メッセージID [5baf75039a0bcce3a1a3be351d7dcb6f]:Apache Re-Buildタスクが完了しました。詳細については、ログを確認してください。
この記事の短いビデオチュートリアル:
関連するKbの記事: CWP – Apacheの構成、ステータス、およびインクルード会議