Apache installation and firewall cmd configuration - CameronProvost/Tech-Journal GitHub Wiki

Apache Installation and Firewall Configuration

  1. yum install -y httpd
  2. systemctl enable httpd
  3. systemctl start httpd
  4. systemctl status httpd to check if it was successful
  5. firewall-cmd --permanent --add-port=80/tcp (for http)
  6. firewall-cmd --permanent --add-port=443/tcp (for https)
  7. firewall-cmd --reload
  8. firewall-cmd --list-all to see if successful