在linux下设置开机自动启动程序的方法(一)
2004-09-15 13:26
851 查看
下面用自启动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
自启动脚本:
/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
相关文章推荐
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法ZT
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法ZT
- 在linux下设置开机自动启动程序的方法[转]
- linux下设置开机自动启动程序的方法
- 在linux下设置开机自动启动程序的方法