在Centos中 將apache httpd 服務加入系統服務

1.將apachectl文件copy到/etc/init.d中,而後再/etc/rc.d/rc5.d中加入連接。 命令以下:linux cp /usr/local/apache/bin/apachectl /etc/init.d/httpd ln -s /etc/init.d/httpd /etc/rc.d/rc5.d/S85httpd 2.運行chkconfig –list 發現列表中沒有ht
相關文章
相關標籤/搜索