apache 启动脚本加入系统服务列表
2016-02-24 15:20
609 查看
第一步:
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
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
相关文章推荐
- linux apache 源码包安装与配置
- linux 下 apache启动、停止、重启命令
- LinuxMint17.3Rosa下安装Apache流程
- Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap
- Apache Apollo配置文件解析
- Apache Prefork、Worker和Event三种MPM分析
- java--监控--Apache,Resin,JVM状态监控
- 深入理解Apache Flink核心技术
- Linux下Apache(2.4.18)的安装以及cgi的配置
- Apache之prefork和worker模型的比较
- Apache shiro 笔记整理之编程式授权
- php7+apache2.4 (Windows7下),成功启动。
- linux apache 服务器开启rewrite …
- Apache Kylin 大数据时代的OLAP利器
- apache 一个站点配置多个域名
- Apache Curator快速入门
- apache外网不能访问分析与解决方法
- Maven的中央仓库,可以搜索jar的坐标
- 关于org.apache.catalina.LifecycleException解决方案
- The import org.apache.commons cannot be resolved in eclipse juno