xshell远程linux服务器,启动 tomcat ,xshell关闭,tomcat停止
解决办法:
1、命令前加上nohup 如:nohup ./startWebLogic.sh
2、yum install screen
shell> screen -S test #创建一个新的窗口,这个窗口关闭时程序不会关闭
shell> java -jar test.jar #运行jar包
xshell远程linux服务器,启动 tomcat ,xshell关闭,tomcat停止
解决办法:
1、命令前加上nohup 如:nohup ./startWebLogic.sh
2、yum install screen
shell> screen -S test #创建一个新的窗口,这个窗口关闭时程序不会关闭
shell> java -jar test.jar #运行jar包