配置一次后执行脚本即可自动部署springboot服务。

1.前置环境:

自行百度git、mvn、java环境。

#git配置
git config --global user.name "www"

git config --global user.email "[email protected]"

#生成公钥
ssh-****** -t rsa -C "[email protected]"

#查看公钥

cd ~/.ssh/

2.脚本

shell脚本自动部署springboot服务

shell脚本自动部署springboot服务

 

3.启动命令: sh deploy.sh

相关文章:

  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2021-07-20
  • 2022-12-23
  • 2021-05-12
猜你喜欢
  • 2021-07-06
  • 2021-08-14
  • 2020-02-21
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2021-10-06
相关资源
相似解决方案