1.后台进程启动tomcat
使用putty远程链接阿里云,用命令行 startup.sh启动tomcat, 关闭putty窗口,tomcat也被关闭。
可以用后台进程的方式启动tomcat
cd /web/tomcat-6.0.14/bin
nohup startup.sh &
参考:
http://blog.youkuaiyun.com/defonds/article/details/44775187 http://www.lushuibo.com/post/use_nohup.html