Alibaba Cloud ECS server deployment web service

step

1. Install Apache service and extension package

2. Run the httpd -v command to view the version number of Apache

 3. Turn off the firewall and turn off selinux

4. Start the Apache service and set the service to start automatically

5. Write what we want to say in index.html under /var/www/html/ to customize the default access interface

 6. Manually add port 80 in the incoming direction of the security group

7. Access the public network IP of the ECS server on the browser (the cloud server management console can view it, and Alibaba Cloud will also send a text message to inform the public network IP address of the server when purchasing the server)

 

Guess you like

Origin blog.csdn.net/weixin_45421322/article/details/131322855