80.6.
yum install httpd
Copy to clipboardCopied# yum install httpd
firewall-cmd --permanent --add-port=80/tcp firewall-cmd --reload
Copy to clipboardCopied# firewall-cmd --permanent --add-port=80/tcp # firewall-cmd --reload
systemctl enable --now httpd
Copy to clipboardCopied# systemctl enable --now httpd
- 注記