spring-boot-plusV1.2.3發佈,CentOS快速安裝環境/構建/部署/啓動項目

spring-boot-plusV1.2.3發佈,CentOS快速安裝環境/構建/部署/啓動項目

[V1.2.3-RELEASE] 2019.09.09 :computer:

spring-boot-plusV1.2.3發佈,CentOS快速安裝環境/構建/部署/啓動項目java

⭐️ 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
複製代碼
相關文章
相關標籤/搜索