mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-09 11:47:24 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1054 af4574ff-66df-0310-9fd7-8a98e5e911e0
23 lines
847 B
XML
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 &&
|
|
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 &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|