linux下tomcat随系统自动启动,最简单的方式
时间:2014-08-25 10:14:35
收藏:0
阅读:262
Last login: Mon Aug 25 09:45:27 2014 from 10.10.15.6 [root@moshi ~]# vi /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don‘t # want to do the full Sys V style init stuff. touch /var/lock/subsys/local /opt/tomcat-annex8089/bin/startup.sh
/opt/tomcat-annex8089/bin/startup.sh
为你的tomcat的启动目录,可以配置多个。
评论(0)