#关闭防火墙
# systemctl stop firewalld
#关闭selinux
# vi /etc/selinux/config
#安装httpd
#yum install httpd -y
#在/var/www/html下编辑index.html
#重启httpd
#systemctl restart httpd
#在C:\Windows\System32\drivers\etc\hosts里边加入服务器ip
#在windows IE浏览器里验证
#进入/etc/httpd/conf .d、新建一个目录编写
#如果有DNS那么ServerName 后面可以写域名
注意:端口