Linux开机自启动apache

shell> ln -s /usr/local/httpd/bin/apachectl /etc/init.d/httpd
shell> vi /etc/init.d/httpd

# add for chkconfig
# chkconfig: 2345 10 90
# description: Activate/Deactive Apache Web Server

shell> chkconfig --add httpd

posted on 2005-06-12 15:22 毒菇求Buy 阅读(1118) 评论(2)  编辑 收藏 引用 所属分类: Linux

评论

# re: Linux开机自启动apache[未登录] 2009-07-03 14:58 初学者

我按照这个方法做了,可是 reboot 后 Apache 没有启动!请指点  回复  更多评论   

# re: Linux开机自启动apache 2009-07-04 05:53 毒菇求Buy

這是RH8(或其它RH版本)的配置方法。你用的是什么版本?Ubuntu?如果是Ubuntu的話,

update-rc.d -f apache2 install

  回复  更多评论   

只有注册用户登录后才能发表评论。
<2005年6月>
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

导航

统计

常用链接

留言簿(7)

随笔分类(133)

随笔档案(111)

文章分类(65)

文章档案(53)

相册

收藏夹(30)

BLOG

Book store

Graphics Design

搜索

最新评论

阅读排行榜

评论排行榜