Apache webserver (httpd) service installation on Redhat 7 Linux - LinuxConfig.org

This guide will show a basic installation of the apache webserver on Redhat 7 Linux (RHEL7). The service and installation package is called as httpd. First we need to install a base apache package httpd:
This is a companion discussion topic for the original entry at https://linuxconfig.org/apache-webserver-httpd-service-installation-on-redhat-7-linux

Scott Duttera

How do you start apache using a specific httpd.conf file? It used to be httpd -k start -f /path/httpd.conf, but that doesn’t work with the systemctl commands, and I can’t find anything on how to do this.

Thanks,

Scott

O.E. Virta

Thanks!

Coming from Ubuntu / iptables background I was scratching my head until I noticed your firewall-cmds. Now my RHEL7 http/https test server is running and showing to the world. :smiley:

rekanth

sir please tell me how to use