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
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