常用命令
查看系统版本信息
lsb_release -a
如果命令不存在,进行下载即可
yum install redhat-lsb -y
指定端口运行SpringBoot项目,并且设置在后台运行
nohup java -jar example.jar --server.port=8080 &
查看端口
netstat -lnp|grep 88
lsb_release -a
yum install redhat-lsb -y
nohup java -jar example.jar --server.port=8080 &
netstat -lnp|grep 88
转载于:https://www.cnblogs.com/xietianhua/p/11345790.html