apache加入chkconfig

回复 收藏

第一步:
cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd

第二步:
vim /etc/init.d/httpd
在第一行#!/bin/sh下增加两行文字
# chkconfig: 35 70 30
# description: Apache

第三步:
保存退出
chkconfig --level 35 httpd on
2016-08-17 21:54 举报
已邀请:

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: