Httpd Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 29: Line 29:
systemctl enable httpd
systemctl enable httpd
</pre>
</pre>
===Start and Smoke===
Start the instance and make sure it starts fine with the default configuration.

Revision as of 21:51, 8 January 2016

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.