Apache Installation and Firewall cmd - samuel-richardson/Sam-Tech-Journal GitHub Wiki
Installing Apache
- Install with
sudo yum install httpd -y Systemctl enable httpdwill run at start up.Systemctlstart httpdwill start apache.- Disable the test page by removing welcome.conf in
/etc/httpd/conf.d - Default directory is
var/www/html - Put HTML and PHP files in the default directory