Httpd Installation

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

RHEL

Installation

yum install httpd

Post-Installation

Adjust Ownership and Permissions

For a default installation, httpd is installed by root and executed as apache. That may lead to situations where the httpd process cannot write the logs or the run directory.

Adjust ownership as follows:

chown apache:apache /var/log/httpd
chown apache:apache /run/httpd

Start at Boot

systemctl enable httpd

Start and Smoke

Start the instance and make sure it starts fine with the default configuration.