linux添加apache到开启启动失败提示“service httpd does not support chkconfig”的解决方法

今天在linux系统上编译apache,全部编译都是正常的,但是到了最后添加开机启动却提示错误#chkconfighttpdon错误代码“servicehttpddoesnotsupportchkconfig”网上说的方法:vi /etc/init.d/httpd   #编辑文件在#!/bin/sh下面添加以下两行#chkconfig:2345 10 90#descrption:Activates/Deactivates Apache Web Se...

阅读全文