[root@kvm5 ~]# yum install httpd -y
[root@kvm5 ~]# echo 'firewall test' > /var/www/html/index.html
[root@kvm5 ~]# systemctl start httpd [root@kvm5 ~]# systemctl enable httpd.service ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'
[root@dywH ~]# curl http://kvm5.deyu.wang curl: (7) couldn't connect to host