Apache Installation and Firewall cmd - samuel-richardson/Sam-Tech-Journal GitHub Wiki
Installing Apache
- Install with
sudo yum install httpd -y
Systemctl enable httpd
will run at start up.Systemctlstart httpd
will 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