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

鍙戣〃鍥炲

鎮ㄧ殑鐢靛瓙閭鍦板潃涓嶄細琚叕寮銆 蹇呭~椤瑰凡鐢 * 鏍囨敞