码迷,mamicode.com
首页 > Web开发 > 详细

apache auto run

时间:2015-05-13 10:49:40      阅读:110      评论:0      收藏:0      [点我收藏+]

标签:

1) make a autorun script and put to /etc/init.d

2) link to specify run level directory such as

copy   /opt/httpd/bin/apachectl to /etc/init.d and link to rc3.d  rc6.d

#> cp /opt/httpd/bin/apachectl /etc/init.d

#>ln -s /etc/init.d/apachectl /etc/rc0.d/K90httpd

#>ln -s /etc/init.d/apachectl /etc/rc6.d/K90httpd

#>ln -s /etc/init.d/apachectl /etc/rc3.d/S90httpd


apache auto run

标签:

原文地址:http://my.oschina.net/u/1453451/blog/414120

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!