# systemctl list-unit-files | grep http
httpd.service disabled
# systemctl enable httpd
ln -s ‘/usr/lib/systemd/system/httpd.service’ ‘/etc/systemd/system/multi-user.target.wants/httpd.service’
# systemctl list-unit-files | grep http
httpd.service enabled
# getenforce
Disabled
# vi /etc/firewalld/zones/public.xml
..
<service name=”dhcpv6-client”/>
+ <service name=”http”/>
+ <service name=”https”/>
<service name=”ssh”/>
..
# firewall-cmd —reload
success
or
# firewall-cmd –add-service=http –zone=public –permanent
success
# firewall-cmd –add-service=https –zone=public –permanent
success
# firewall-cmd –reload
success
# firewall-cmd –list-service –zone=public
dhcpv6-client http https ssh