-
CentOS7
-
Connect to Alibaba Cloud and install httpd
yum -y install httpd
-
Upload files to /var/www/html
-
Start httpd
systemctl start httpd
-
Go to the Alibaba Cloud console to add port 80 in the default security group inbound direction
-
Access, for example, put the index.html file under /var/www/html, you can access it through: http://cloud server IP address/index.html
-
If you cannot access, turn off the firewall
systemctl stop firewalld.service
-
Check the running status: service firewalld status
Alibaba Cloud simply deploys html and access
Guess you like
Origin blog.csdn.net/weixin_41905320/article/details/106224273
Recommended
Ranking