Bi Set Summary 02 Web Terminal-A brief introduction to the project, SpringBoot project deployment to Alibaba Cloud

Article Directory


Bishe Summary 01 Overview-"Smart Campus Small Business Circle"
Bishe Summary 02 Web Terminal-A brief introduction to the project, SpringBoot project deployment to Alibaba Cloud

1. Brief introduction

General technology : SpringBoot, Layui mini, Mybatiis-Plus, Shiro, Qiniu cloud storage. At the same time, the project is deployed on Alibaba Cloud and can be accessed using a domain name.

Architecture diagram

Main function : It is mainly to use Layui's data table function to visually display database tables, and to add, delete, modify and check tables. Secondly, the web can set the carousel URL of the App, and send announcements to the App and view the feedback of App users.

Unnamed file

Dependencies used:


<!-- Fastjson -->
<!-- Thymeleaf(视图解析和公告表格用到了) -->
<!-- Shiro -->
<!-- Thymeleaf扩展Shiro(其实没用到)-->
<!-- MySQL 驱动 -->
<!-- MyBatis-plus -->
<!-- Lombok -->
<!-- 七牛云存储 -->
  <version>[7.5.0, 7.5.99]</version>
<!-- Swagger文档交互 -->
<!-- 测试 -->

2. Project deployment

Usually I will deploy the project on the cloud and add a domain name of my own, so that I can explain it to the teacher.

1. Purchase a server

This step is written in another blog of mine, so I will skip it here. Deploy MySQL database to the server

I also bought a domain name on Alibaba Cloud, and then I can directly access the website through the domain name. Here is a brief explanation.

First choose a domain name of your choice: URL

After choosing a personal purchase, go to the domain name console of Alibaba Cloud and select resolution.


Add record (usually the default is used, but it will be used to configure Qiniu Cloud later)


2. Install the pagoda

This step is actually similar to that blog, but it’s important to write about it.

If you have purchased Alibaba Cloud CentOS, connect to the server inputyum install -y wget && wget -O && sh

Log in to the pagoda panel and installOne-click deployment of Java projects, Open on the far rightHome page display, Easy to find next time.


3. Project packaging

Project packaging in IDEA (I am a Spring Boot project, other projects are Baidu by their own)


Note: the packaging may fail, just clean it up and repack it, try a few more times


4. Upload the project

  • After the SpringBoot project is packaged, it is a jar package

Choose to upload files in the pagoda


5. Deploy the project

One-click deployment using Java projects:


What it looks like after successful deployment:


Then you can passDomain name: port numberTo access the website in the form of, we obviously don’t want to enter the port number every time, so we need to map it below.


Click the mapping on the project side, it will automatically go to the website to add oneDomain name: 80, We then manually add a www.domain name:80. (Mapping needs to install Apache first, just go to the software store to install it)

Install Apache


Add mapping


add manully


After access, you only need to enter the domain name