springboot 运行相关命令

启动项目
java -jar /目录 &
例如
nohup java -jar /data/wwwroot/springboot.kingsuper.net/demo.jar &

重新启动项目,要先将之前的端口杀死
查询端口
netstat -tunlp

杀死端口

kill -9 端口
例如 kill -9 18607

posted @ 2019-05-28 15:37  Sea_wxx  阅读(736)  评论(0编辑  收藏  举报