2013年9月29日

linux 下httpd服务开机启动

摘要: 分类:网站搭建2011-01-07 05:521164人阅读评论(0)收藏举报linuxapache我的apache安装目录在 /usr/local/apache 有2种方法可以设置开机启动方法一: cp /usr/local/apache/bin/apachectl /etc/init.d/httpd vi /etc/init.d/httpd在#!/bin/sh后面加入下面两行#chkconfig:345 85 15#description: Start and stops the Apache HTTP Server.然后 chmod +x /etc/rc.d/init.d/httpd c 阅读全文

posted @ 2013-09-29 11:35 铁轨嘴上飘 阅读(4301) 评论(0) 推荐(0) 编辑

导航