首页 > Web开发 > 详细

apache auto run

时间:2015-05-13 10:48:13      阅读:206      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!