1.普通模式 1.java包上传到home目录下 2.查看有没有已经存在的进程,有则杀掉 netstat -nlp | grep java kill -9 进程号 3.启动java,查看日志 nohup java -jar xxxxx & tail -f nohup.out