Alibaba Cloud deploys the springboot mysql project online

Learn from bloggers

Personal blog building tutorial

First download the blogger file ------- redundant files can be deleted ----- open the project - import the sql file - automatically import the dependency package

Alibaba Cloud Deployment Project

Purchase a server-------enter the remote connection-----install the pagoda panel-----enter the pagoda panel------you can install the corresponding version with one click, but generally install it yourself----- - Click on the software store ------ select the corresponding version to install (such as mysql 8.0)

Install software required for various projects

Install tomcat mysql php etc.

Set the release port 

Release the port you need in the project, such as the database port, run the project port

 Also, go to Alibaba Cloud Security Rules to set the running port

Alibaba Cloud-----Control Platform-----Security Group-----Configure Rules--Manual Configuration--Configure Release Port

 

Database settings

To view the database, install phpmadmin (Pagoda Software Store) Note: Install php according to the prompts.

Log in to phpmyadmin and enter the username. The default root password is the database password just set as follows.

Enter phpmyadmin

Note: The database name should not exceed too long, generally no more than 16 characters

navicat dump sql file

Change the project xml file to make it consistent

File Path Change and Configuration

The paths for uploading image files need to be set the same

Mapping method changes

Upload file to directory img project file configuration file

Alibaba Cloud upload file 

run the project

cd / home

java -jar project filename.jar

 Enter ip access in the public network, success!

Guess you like

Origin blog.csdn.net/enhenglhm/article/details/122943863