在服务器操作系统CentOS 6.7下yum安装和使用Apache Web服务器

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/IOT_victor/article/details/79532551

1、安装Apache
yum install httpd

2、启动/关闭服务
service httpd start
service httpd stop

这里写图片描述

3、使用WinSCP的SFTP将index.html上传到服务器

这里写图片描述

4、访问公网IP

这里写图片描述

猜你喜欢

转载自blog.csdn.net/IOT_victor/article/details/79532551