Username: Password:

linux 下配置开机启动文档
来源: ChinaUnix博客  作者: ChinaUnix博客   发布时间:2007-01-01 13:54:00


下面用自启动apache为例;
自启动脚本:
/usr/local/apache2/bin;
./apachectl start
文档位于/etc/rc.d/init.d下,名为apached,注意要可执行.
#chmod +x /etc/rc.d/init.d/apached                          //配置文档的属性为可执行
#ln -s /etc/rc.d/init.d/apached /etc/rc3.d/S90apache        //建立软连接,快捷方式
#ln -s /etc/rc.d/init.d/apached /etc/rc0.d/K20apache

喜欢本文,那就收藏到:

    Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网
相关评论  我也要评论
还没有关于此文章的相关评论!
  • 昵称: (为空则显示guest)
  • 评论分数: ★ ★ ★★★ ★★★★ ★★★★★
  • 评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
  • 导航
    赞助商
    文章类别
    订阅