Intro(AUTO-UP | auto-up | autoup ) #
方式一、(rc.local)启动说明 #
脚本位置
/etc/rc.local -> /etc/rc.d/rc.local脚本内容
nexus(runself)
tomcat(runself)
-rwxr-xr-x 1 elizabeth root
frp(forNAT-runself)
-rwxrwxrwx 1 elizabeth root
方式二、(chkconfig)启动说明 #
简介
制作启动脚本
编辑启动脚本:
vim /etc/init.d/zentao将启动脚本权限改为可执行:
$ chmod a+x /etc/init.d/zentao添加启动项并启动:
$ chkconfig --add zentao、$ chkconfig --zentao on检查是否设置成功:
$ chkconfig –list |grep zentao需要注意:
方式三、(ntsysv)图形化配置(root) #
comments powered by Disqus