1、安装Apache
yum install httpd

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

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

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

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

4、访问公网IP

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

相关文章: