1、切换到/etc/rc.d/init.d目录下

2、新建脚本,step.sh

3、添加开机启动   chkconfig –add step.sh

4、chkconfig step.sh

相关文章: