启动jar包java
nohup java -jar jar包名称.jar --server.port=指定端口 &server
输出就在nohup.out里面端口
查看命令 tail -f nohup.out 能够持续查看输出