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

geekidea 2019-09-09

云栖社区 系统研发与运维 linux redis Java核心技术 开发框架与中间件 java mysql spring yum Maven centos ADD springboot springbootplus

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
登录 后评论
下一篇
corcosa
12292人浏览
2019-10-08
相关推荐
0
0
0
293