Article Directory
Linux local deployment & HUAWEI cloud remote deployment
1. HUAWEI CLOUD purchase process
1. Purchase process
Purchase link: https://console.huaweicloud.com/ecm/?region=cn-east-2#/ecs/createVm
① Basic configuration
The test only uses 1 core cpu, memory 1GB, remember to choose CentOS for mirroring (do not choose the latest version)
②, network configuration
③, advanced configuration
④, confirm the configuration
⑤ After the public network IP is successfully allocated, it can be tested
Remote login for testing
Note: If it is an on-demand purchase, it will be billed by the hour, even if the cloud server is turned off, it will be billed
2. Simple to use
Configure the public network whitelist
It must be consistent with our previous network configuration selection, otherwise it will not work
2. Huawei Cloud (ECS) remote deployment
1、OneinStack
http://oneinstack.com/-Click [Interactive Installation] and follow the steps to complete the installation
Connect using Xshell
①, download the oneinstack package
[root@testw ~]# cd /usr/local/src/
[root@testw src]# wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz
②, decompress the oneinstack package
[root@testw src]# tar -zxvf oneinstack-full.tar.gz -C ./
[root@testw src]# cd /usr/local/src/oneinstack/
③, start and install the software
[root@testw src]# ./install.sh
④. The installation options can be viewed on the official website (the last five of the group are all N)
2. Configure after installation, release project test
①, modify the port to 80
The suffixes of these two files are exchanged, and the above xml cannot be used normally
②. Use Navicat to create links to prepare for project deployment
③, deploy the web project to tomcat
(1) Copy cms project webapp to /usr/local/src/webapp
(2) Modify the port of tomcat/conf/server.xml to 80
(3) Deployment project
<Context docBase="/usr/local/src/webapp" path=""/>
success! ! !
g-NmKJqBDj-1609057203311)]
2. Configure after installation, release project test
①, modify the port to 80
The suffixes of these two files are exchanged, and the above xml cannot be used normally
②. Use Navicat to create links to prepare for project deployment
③, deploy the web project to tomcat
(1) Copy cms project webapp to /usr/local/src/webapp
(2) Modify the port of tomcat/conf/server.xml to 80
(3) Deployment project
<Context docBase="/usr/local/src/webapp" path=""/>
success! ! !