Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
脆弱性のため、centos 5.9 サーバーで apache を 2.4.3 に更新する必要がありました。
正常に動作していますが、chkconfig で動作させる方法がわかりません (可能な場合)。
解決策を検索し、すべての Web サイトが示唆するように「#chkconfig: - 85 15」を apachectl に追加しようとしましたが、それでもサービスが chkconfig をサポートしていないと表示されます。
どんな助けでも感謝します。
ファイル/etc/init.d/httpdを編集して、Linuxの実行レベルを設定し、次の行を置き換えます。
# chkconfig: - 85 15
この行で:#chkconfig:234 20 80
サービスを開始する:-
/sbin/chkconfig httpd on