您现在的位置是:首页 > 文章详情

spring-boot-plusV1.2.3发布,CentOS快速安装环境/构建/部署/启动项目

日期:2019-09-08点击:369

spring-boot-plusV1.2.3发布,CentOS快速安装环境/构建/部署/启动项目

[V1.2.3-RELEASE] 2019.09.09 :computer:

spring-boot-plusV1.2.3发布,CentOS快速安装环境/构建/部署/启动项目

⭐️ New Features

  • 项目运行环境安装脚本
  • CentOS快速构建/部署/启动项目脚本

️ Optimization

  • 优化 maven-assembly-plugin 项目打包插件

Added/Modified

Documentation

CentOS Quick Installation Environment / Build / Deploy / Launch Spring-boot-plus Project

Dependency Upgrades

  • Upgrade to springboot 2.1.8.RELEASE
  • Upgrade to Mybatis 3.5.2
  • Upgrade to Mybatis Plus 3.2.0
  • Upgrade to Alibaba Druid 1.1.20
  • Upgrade to Fastjson 1.2.60
  • Upgrade to commons-codec 1.13
  • Upgrade to commons-collections 4.4
  • Upgrade to hutool-all 4.6.4

CentOS快速安装环境/构建/部署/启动spring-boot-plus项目

1. 下载安装脚本

安装 jdk, git, maven, redis, mysql

wget -O download-install-all.sh https://raw.githubusercontent.com/geekidea/spring-boot-plus/master/docs/bin/install/download-install-all.sh

2. 运行安装脚本

sh download-install-all.sh

3. 修改MySQL密码

ALTER USER 'root'@'localhost' IDENTIFIED BY 'Springbootplus666!'; exit mysql -uroot -pSpringbootplus666!

4. 导入MySQL脚本

create database if not exists spring_boot_plus character set utf8mb4; use spring_boot_plus; source /root/mysql_spring_boot_plus.sql; show tables; exit

5. 下载部署脚本 deploy.sh

wget -O deploy.sh https://raw.githubusercontent.com/geekidea/spring-boot-plus/master/deploy/deploy.sh

6. 执行脚本

sh deploy.sh

7.访问项目

SpringBootAdmin管理页面

http://47.105.159.10:8888

spring-boot-plus Swagger文档页面

http://47.105.159.10:8888/docs

8. 查看项目运行日志

tail -f -n 1000 /root/spring-boot-plus-server/logs/spring-boot-plus.log
原文链接:https://yq.aliyun.com/articles/717784
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章