Apache Installation and firewall cmd Configuration - jwells24/Tech-Journal GitHub Wiki

Apache Installation and firewall-cmd Configuration

  • First, install Apache by using the command: yum install httpd. Next, we need to add http & https to the firewall with the command: firewall-cmd --permanent --add-service=http(https). Restart the firewall to confirm your changes with firewall-cmd --reload. Enable and start httpd using systemctl. Once this is complete, you are ready to use Apache for your web server.