Httpd Installation

From NovaOrdis Knowledge Base
Revision as of 21:50, 8 January 2016 by Ovidiu (talk | contribs)
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