Httpd Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 13: Line 13:
==Post-Installation==
==Post-Installation==


===Adjust Ownership and Permissions===
===Configure httpd to Start at Boot===
 
For a default installation, httpd is installed by <tt>root</tt> and executed as <tt>apache</tt>. That may lead to situations where the httpd process cannot write the <tt>logs</tt> or the <tt>run</tt> directory.
 
Adjust ownership as follows:
 
<pre>
chown apache:apache /var/log/httpd
chown apache:apache /run/httpd
</pre>
 
===Start at Boot===


<pre>
<pre>

Revision as of 21:59, 8 January 2016

Internal

RHEL

Installation

yum install httpd

Post-Installation

Configure httpd to Start at Boot

systemctl enable httpd

Start and Smoke

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