glfs/content/web/apache/apache-inst.xml
Igor Živković 5ff37215b1 update to MySQL-4.0.15 and freetype-2.1.5 plus several fixes
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1054 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-09-13 04:11:07 +00:00

23 lines
847 B
XML

<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>