springboot 2.x centos 7.0 部署
2021-01-03 01:28
标签:down xxxxx serve imp use type targe snapshot conf 1 pom 3 打好项目jar包(非war) mvn clean package 4 yum install -y java-1.8.0-openjdk-devel.x86_64 5.cd /etc/systemd/system vi xxxxx.service 6 systemctl enable xxxx.service 7 shutdown -r now done!!! springboot 2.x centos 7.0 部署 标签:down xxxxx serve imp use type targe snapshot conf 原文地址:https://www.cnblogs.com/Garin/p/12992792.html
spring-boot-maven-plugin
2 application.propertiesserver.port=xxxx (部署端口号)
[Unit]
Description=xxxx service
After=syslog.target
[Service]
Type=simple
ExecStart= /usr/bin/java -jar xxxx-0.0.1-SNAPSHOT.jar
[Install]
WantedBy=multi-user.target
文章标题:springboot 2.x centos 7.0 部署
文章链接:http://soscw.com/index.php/essay/39708.html