星期四, 6月 26, 2014

[學習CentOS]使用 chkconfig 設定開機時, 各種服務的啟動狀態

查看 httpd 的啟動狀態
chkconfig --list httpd


設定 httpd 在 runlevel 3 跟 5 時, 開機就啟動
chkconfig --level 35 httpd on

沒有留言: