修改你的/etc/init.d/httpd脚本
在开始处#!/bin/bash之后的行后
插入
# chkconfig: 2345 85 15
# description: Apache is a World Wide Web server. It is used to serve HTML files and CGI.
#符号不能去掉
运行ntsysv 选中 httpd,就可以了
在开始处#!/bin/bash之后的行后
插入
# chkconfig: 2345 85 15
# description: Apache is a World Wide Web server. It is used to serve HTML files and CGI.
#符号不能去掉
运行ntsysv 选中 httpd,就可以了