Apache ‐ Setup and Using - rosepheobieshea/SYS-255-Tech-Journal GitHub Wiki
Install and Setup
- Install Apache
dnf install httpd
- Enable httpd daemon to boot on startup
systemctl enable httpd
- Start service
systemctl start httpd
- Check httpd status
systemctl status httpd | grep -i "active"
- Allow httpd through the firewall
firewall-cmd --permanent --add-port=80/tcp
- Reload firewall config
firewall-cmd --reload
To check error log:
journalctl -u httpd
Root webserver directory:
/var/www/html