Installing Apache - TannerWeinacker/Tech-Journal GitHub Wiki

  • Use 'yum install httpd'

Add firewall rules

  • firewall-cmd --zone=public --add-port=80/tcp --permanent
  • firewall-cmd --zone=public --add-port=443/tcp --permanent
  • firewall-cmd --reload

To check that it was added

  • firewall-cmd --list-all

Enable httpd

  • systemctl enable httpd
  • systemctl start httpd