Publish the project to the cloud server (from zero to one) 1-no domain name release

Publish the project to the cloud server
First we need to prepare 4 things, namely:
1. Packaged back-end project (Jar package or War package)
2. Packaged dist file of front-end project
3. Available cloud server
4. Available domain name (optional)

I won’t talk about the packaged front-end and back-end projects here, but mainly talk about how to deploy the packaged projects to the Internet.

1. Purchase a server (here takes Alibaba Cloud as an example)
Open Alibaba Cloud’s official website aliyun.com and click Login in the upper right corner.
1. Purchase a server
After logging in, find the corresponding server you want to buy on the page (I bought the cheapest one here), click on it,
insert image description here
select the corresponding product, place an order and checkout after purchase. The yellow warning below is to prompt you to release the corresponding port. Go back to the previous console interface, click on the security group to enter the security group interface and click on configure rules
insert image description here


insert image description here

insert image description here

insert image description here

insert image description here

insert image description here


insert image description here

insert image description here


insert image description here


insert image description here

insert image description here
Click to add manually (fill in the parameters according to your own requirements, if you don’t understand, you can fill in according to my description, and the description can be left blank) After
the port is released, go back to the corresponding panel address just saved, enter the account password and log in, and install the
insert image description here
plug-ins you need (if you don’t know, just follow the recommended installation) . Next is the method of deploying to friends who do not have a domain name by default (fill in the domain name and use the ip address directly, but this is not a standardized deployment. For now, let’s make do with it, and continue after the domain name filing and those have passed). Fill in the ip part of the domain name (step 3) only need to fill in xxx.xxx.xxx.xxx, do not fill in those http://.

insert image description here

insert image description here

insert image description here
Enter the URL you just created in the browser (enter whatever you filled in in the third step), and the above interface will show that the URL has been successfully created. Go back to the pagoda interface and click on the directory of the URL you just created
insert image description here
. up
!
insert image description here
! !

Guess you like

Origin blog.csdn.net/JavaD0g/article/details/107194047