您所在的位置:
首页 > Redhat/CentOS下apahce编译安装后的自动启动 > 信息评论 >
Redhat/CentOS下apahce编译安装后的自动启动
apache安装路径:/usr/local/apache 方法1 编辑/etc/rc.d/rc.local,增加一行: /usr/local/apache/bin/apachectl start 方法2 #cp /usr/local/apache/bin/apachectl /etc/rc.d/init.d/ 编辑/etc/init.d/apachectl,在第一行#!/bin/sh下增加两行: # chkconfig: 2
网友评论