glfs/content/web/apache/apache-inst.xml
Jesse Tie-Ten-Quee 7c7fa7df7e Adding apache-1.3.26. Note: This is not complete, still needs work.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@159 af4574ff-66df-0310-9fd7-8a98e5e911e0
2002-08-27 11:20:14 +00:00

30 lines
1010 B
XML

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