转载

spring-boot-plus V1.2.3 发布,新增 CentOS 相关脚本

[V1.2.3-RELEASE] 2019.09.09 :computer:

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

:star:️ New Features

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

:zap:️ Optimization

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

:memo: Added/Modified

  • Add install-jdk.sh yum安装 jdk8 脚本

  • Add install-git.sh yum安装 git 脚本

  • Add install-maven.sh yum安装 maven 脚本

  • Add install-redis.sh yum安装 redis 脚本

  • Add install-mysql.sh yum安装 mysql 脚本

  • Add install-all.sh 安装所有环境脚本

  • Add download-install-all.sh 下载并安装所有环境脚本

  • Add deploy.sh 下载项目/构建/部署/启动项目脚本

  • Add maven-javadoc-plugin java api docs

:notebook_with_decorative_cover: Documentation

  • CentOS Quick Installation Environment / Build / Deploy / Launch Spring-boot-plus Project
  • spring-boot-plus java docs

:hammer: Dependency Upgrades

springboot
Mybatis
Mybatis Plus
Alibaba Druid
Fastjson
commons-codec
commons-collections
hutool-all

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

1. Download the installation script

Install jdkgitmavenredismysql

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

2. Run the installation script

sh download-install-all.sh

3. Modify MySQL password

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

4. Import MySQL scripts

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. Download deployment script deploy.sh

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

6. Execution script

sh deploy.sh

7.Access project

SpringBootAdmin Management page

http://47.105.159.10:8888

spring-boot-plus Swagger Document page

http://47.105.159.10:8888/docs

8. View project run log

tail -f -n 1000 /root/spring-boot-plus-server/logs/spring-boot-plus.log
原文  https://www.oschina.net/news/109712/spring-boot-plus-1-2-3-released
正文到此结束
Loading...