Redhat/CentOS下apahce编译安装后的自动启动 最新更新| 软件分类| 专题汇总| 手机版

您所在的位置:首页 > 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

网友评论

发表评论

(您的评论需要经过审核才能显示)