vi /etc/rc.local 写入startup.sh的所在路径;/home/apache_tomcat7/bin/startup.sh :wq! 转载于:https://www.cnblogs.com/buptmt/p/4260945.html