httpd寮鏈哄惎鍔ㄤ互鍙娾渟ervice httpd does not support chkconfig鈥
鏈杩戠粡甯告湇鍔″櫒瑕侀噸鍚紝涓閲嶅惎缃戠珯灏辫烦鍒颁簡apache鐨勯粯璁ら椤碉紝鐚滄兂鏄病寮鏈哄惎鍔╝pache锛岃屼笖涓婄骇鍙堜笉鐭ラ亾鎼炰簡涓粈涔堜富鏈哄疂鍦ㄦ湇鍔″櫒涓婏紝鎵浠ヨ烦鍒伴偅閲屽幓
#閲嶅惎鏈嶅姟鍣ㄥ悗鍙戠幇httpd琚彟澶栦竴涓猦ttpd鍗犵敤鐫
netstat -nlp |grep httpd
#鍙ソ鏉鎺変簡
killall httpd
#浣嗘槸鎵цhttpd閲嶅惎鍙堟病鏈夋姤閿
service httpd restart
chkconfig httpd on
#杩斿洖service httpd does not support chkconfig
vi /etc/init.d/httpd #鎴栬卾i /etc/rc.d/init.d/httpd
#鍦ㄧ浜岃鍔犲叆
# chkconfig: 2345 10 90
# description: Activates/Deactivates Apache Web Server
#鐒跺悗鎵ц
chkconfig --add httpd
#娌℃姤閿欏氨琛屼簡
chkconfig httpd on
reboot #閲嶅惎鏈嶅姟鍣
#璁块棶缃戠珯鍙戠幇鎴愬姛浜
All posts
Other pages
Deprecated: 鏂囦欢 娌℃湁 comments.php 鐨勪富棰 鑷増鏈 3.0.0 璧峰凡寮冪敤锛屼笖娌℃湁鍙敤鐨勬浛浠c 璇峰湪鎮ㄧ殑涓婚涓寘鍚竴涓 comments.php 妯℃澘銆 in /www/wwwroot/liguoqi.site/wp-includes/functions.php on line 6078
鍙戣〃鍥炲