Linux 开机 启动 服务

来源:互联网 发布:linux修改用户名及密码 编辑:程序博客网 时间:2024/05/16 14:24

1、编辑 rc.local 文件

     # vi /etc/rc.local

2、把服务路径 放入文件中 如下所示:

   # this is start |  nexus { console | start | stop | restart | status | dump }


   /nexus-2.11.2-06/bin/nexus start

   /usr/local/tomcat/apache-tomcat-7.0.61/bin/startup.sh

0 0
原创粉丝点击