Starting Apache
- Check the log generation directory before the startup.
ll /usr/local/apache2/logs/
If you installed Apache in RPM mode on CentOS 8.1, run the following command:
ll /var/log/httpd
- Start Apache.
1/usr/local/apache2/bin/httpd -f /usr/local/apache2/conf/httpd.conf -k start
If you installed Apache in RPM mode on CentOS 8.1, run the following command:
systemctl start httpd ll /var/log/httpd
Parent topic: Running and Verifying Apache