Apache installation and firewall cmd configuration - CameronProvost/Tech-Journal GitHub Wiki
Apache Installation and Firewall Configuration
- yum install -y httpd
- systemctl enable httpd
- systemctl start httpd
- systemctl status httpd to check if it was successful
- firewall-cmd --permanent --add-port=80/tcp (for http)
- firewall-cmd --permanent --add-port=443/tcp (for https)
- firewall-cmd --reload
- firewall-cmd --list-all to see if successful