glfs/content/web/apache/apache-inst.xml

23 lines
847 B
XML
Raw Normal View History

<sect2>
<title>Installation of <application>Apache</application></title>
<para>For security reasons, running the server as an unpriviledged user and group is strongly encouraged.</para>
<screen><userinput><command>groupadd apache &amp;&amp;
useradd -c apache -d /dev/null -g apache -s /bin/false apache</command></userinput></screen>
<para>Build and install <application>Apache</application> by running the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr \
--sbindir=/usr/sbin \
--libexecdir=/usr/lib/apache \
--datadir=/var/www \
--sysconfdir=/etc/apache \
--localstatedir=/var/www \
--includedir=/usr/include/apache \
--enable-mods-shared=all &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>