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
This commit is contained in:
Jesse Tie-Ten-Quee 2002-08-27 11:20:14 +00:00
parent 2823abf9c3
commit 7c7fa7df7e
7 changed files with 58 additions and 4 deletions

View File

@ -1,8 +1,11 @@
<sect1 id="apache" xreflabel="apache">
<sect1 id="apache" xreflabel="Apache-&apache-version;">
<?dbhtml filename="apache.html" dir="content"?>
<title>apache</title>
<title>Apache-&apache-version;</title>
<para>TO BE DONE</para>
&apache-intro;
&apache-inst;
&apache-exp;
&apache-config;
&apache-desc;
</sect1>

View File

View File

View File

View File

@ -0,0 +1,29 @@
<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>

View File

@ -0,0 +1,12 @@
<sect2>
<title>Introduction to Apache</title>
<screen>Download location (HTTP): <ulink url="&apache-download-http;" />
Download location (FTP): <ulink url="&apache-download-ftp;" />
Version used: &apache-version;
Package size: &apache-size;
Estimated disk space required: &apache-buildsize;</screen>
<para>A little apache introduction here...</para>
</sect2>

View File

@ -1 +1,11 @@
<!ENTITY apache SYSTEM "../apache.xml">
<!ENTITY apache-intro SYSTEM "apache-intro.xml">
<!ENTITY apache-inst SYSTEM "apache-inst.xml">
<!ENTITY apache-exp SYSTEM "apache-exp.xml">
<!ENTITY apache-config SYSTEM "apache-config.xml">
<!ENTITY apache-desc SYSTEM "apache-desc.xml">
<!ENTITY apache-version "1.3.26">
<!ENTITY apache-download-http "http://www.apache.org/dist/httpd/apache_1.3.26.tar.gz">
<!ENTITY apache-download-ftp "ftp://ftp.tux.org/pub/net/apache/dist/httpd/apache_1.3.26.tar.gz">
<!ENTITY apache-size "2.2 MB">
<!ENTITY apache-buildsize "13 MB">