mvn install -Dmaven.test.skip=true
五.启动应用指定外部文件
nohup java -jar -Dspring.config.location=./application.properties online_xdclass-0.0.1-
SNAPSHOT.jar &
六.查看nohup.out
tail -f nohup.out
七.前端项目打包(本地vue项目进行打包)
cnpm run build
八.上传dist目录到Centos系统某个目录(可通过fileZilla工具上传)
原文:https://www.cnblogs.com/datadogapache/p/14957882.html