Changeset 4fb9a95


Ignore:
Timestamp:
09/21/2004 10:29:44 PM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
e270488
Parents:
99f6b7d
Message:

Updated to Apache-2.0.51; modified commands in Thunderbird instructions to fit on a printed page

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2746 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • content/web/apache.xml

    r99f6b7d r4fb9a95  
    77  <!ENTITY apache-download-http "http://www.apache.org/dist/httpd/httpd-&apache-version;.tar.gz">
    88  <!ENTITY apache-download-ftp  "ftp://ftp.tux.org/pub/net/apache/dist/httpd/httpd-&apache-version;.tar.gz">
    9   <!ENTITY apache-size          "5.9 MB">
     9  <!ENTITY apache-size          "6.7 MB">
    1010  <!ENTITY apache-buildsize     "78 MB">
    11   <!ENTITY apache-time          "1.32 SBU">
     11  <!ENTITY apache-time          "1.12 SBU">
    1212]>
    1313
     
    3030<sect3><title>Package information</title>
    3131<itemizedlist spacing='compact'>
    32 <listitem><para>Download (HTTP): <ulink url="&apache-download-http;"/></para></listitem>
    33 <listitem><para>Download (FTP): <ulink url="&apache-download-ftp;"/></para></listitem>
     32<listitem><para>Download (HTTP):
     33<ulink url="&apache-download-http;"/></para></listitem>
     34<listitem><para>Download (FTP):
     35<ulink url="&apache-download-ftp;"/></para></listitem>
    3436<listitem><para>Download size: &apache-size;</para></listitem>
    35 <listitem><para>Estimated Disk space required: &apache-buildsize;</para></listitem>
    36 <listitem><para>Estimated build time: &apache-time;</para></listitem></itemizedlist>
     37<listitem><para>Estimated Disk space required:
     38&apache-buildsize;</para></listitem>
     39<listitem><para>Estimated build time: &apache-time;</para></listitem>
     40</itemizedlist>
    3741</sect3>
    3842
    3943<sect3><title>Additional downloads</title>
    4044<itemizedlist spacing='compact'>
    41 <listitem><para>Required Patch: <ulink
    42 url="&patch-root;/httpd-&apache-version;-config-2.patch"/></para></listitem>
     45<listitem><para>Required Patch: <ulink 
     46url="&patch-root;/httpd-&apache-version;-config-1.patch"/></para></listitem>
    4347</itemizedlist></sect3>
    4448
    4549<sect3><title><application>Apache</application> dependencies</title>
    4650<sect4><title>Optional</title>
    47 <para><xref linkend="db"/> or <xref linkend="gdbm"/>, <xref linkend="openssl"/>,
    48 <xref linkend="openldap"/>, <xref linkend="expat"/> and
    49 <ulink url="http://www.stack.nl/~dimitri/doxygen/">doxygen</ulink></para></sect4>
     51<para><xref linkend="db"/> or <xref linkend="gdbm"/>,
     52<xref linkend="openssl"/>,
     53<xref linkend="openldap"/>,
     54<xref linkend="expat"/> and
     55<ulink url="http://www.stack.nl/~dimitri/doxygen/">doxygen</ulink></para>
     56</sect4>
    5057</sect3>
    5158
     
    6774be configured without errors. Apply the patch:</para>
    6875
    69 <screen><userinput><command>patch -Np1 -i ../httpd-&apache-version;-config-2.patch</command></userinput></screen>
     76<screen><userinput><command>patch -Np1 -i ../httpd-&apache-version;-config-1.patch</command></userinput></screen>
    7077
    7178<para>Build and install <application>Apache</application> by running the
     
    7582    --enable-mods-shared=all &amp;&amp;
    7683make &amp;&amp;
    77 make install</command></userinput></screen>
     84make install &amp;&amp;
     85chown root:root /usr/sbin/{apxs,apachectl,dbmmanage,envvars-std,envvars} &amp;&amp;
     86chown -R apache:apache /srv/www</command></userinput></screen>
    7887
    7988</sect2>
     
    8291<title>Command explanations</title>
    8392
    84 <para><parameter>--with-expat=/usr</parameter>: Uses system installed
    85 expat. <emphasis>If you have installed expat and do not use this switch, the
    86 apache installation may overwrite some files from the expat
    87 installation.</emphasis></para>
    88 
    89 <para><parameter>--enable-mods-shared=all</parameter>: We want modules
    90 to be compiled and used as Dynamic Shared Objects
     93<para><option>--with-expat=/usr</option>: Uses system installed
     94<application>expat</application>. <emphasis>If you have installed
     95<application>expat</application> and do not use this switch, the
     96<application>Apache</application> installation may overwrite some files from
     97the <application>expat</application> installation.</emphasis></para>
     98
     99<para><parameter>--enable-mods-shared=all</parameter>: The modules should be
     100compiled and used as Dynamic Shared Objects
    91101(<acronym>DSO</acronym>s) so they can be included and excluded from the
    92102server using the run-time configuration directives.</para>
     
    96106module and enable <acronym>SSL</acronym> support.</para>
    97107
     108<para><command>chown root:root /usr/sbin/{...}</command>: This command changes
     109the ownership of some installed files, the result of building the package as a
     110user other than root.</para>
     111
     112<para><command>chown -R apache:apache /srv/www</command>: By default, the
     113installation process installs files (documentation, error messages, default
     114icons, etc.) with the ownership of the user that extracted the files from the
     115tar file.  If you want to change the ownership to another user, you should do
     116so at this point.  The only requirement is that the document directories need
     117to be accessable by the <command>httpd</command> process with (r-x) permissions
     118and files need to be readable (r--) by the apache user.</para>
     119
    98120</sect2>
    99121
     
    108130</sect3>
    109131
    110 <sect3><title>Configuration Information</title>
    111 
    112 <para>The main configuration file is called
    113 <filename>httpd.conf</filename>. Modify it to run the server as a
    114 dedicated user:</para>
    115 
    116 <screen><userinput><command>sed -i -e "s%User nobody%User apache%" -e "s%^Group #-1%Group apache%" /etc/apache/httpd.conf</command></userinput></screen>
    117 
    118 <para>See
    119 <ulink url="http://httpd.apache.org/docs-2.0/configuring.html"/> for
    120 detailed instructions on customizing your Apache <acronym>HTTP</acronym>
    121 server.</para>
     132<sect3>
     133<title>Configuration Information</title>
     134
     135<para>The main configuration file is named <filename>httpd.conf</filename>.
     136Modify it to run the server as a dedicated user:</para>
     137
     138<screen><userinput><command>sed -i -e "s%User nobody%User apache%" \
     139       -e "s%^Group #-1%Group apache%" \
     140    /etc/apache/httpd.conf</command></userinput></screen>
     141
     142<para>See <ulink url="http://httpd.apache.org/docs-2.0/configuring.html"/> for
     143detailed instructions on customizing your <application>Apache</application>
     144<acronym>HTTP</acronym> server.</para>
    122145
    123146<para>Install the <filename>/etc/rc.d/init.d/apache</filename>
     
    126149
    127150<screen><userinput><command>make install-apache</command></userinput></screen>
    128 
    129151</sect3>
    130152
     
    165187<application>Apache</application> <acronym>HTTP</acronym>
    166188server which is designed to help the administrator control the
    167 functioning of the <application>Apache</application> httpd daemon.</para></sect3>
     189functioning of the <application>Apache</application> httpd daemon.</para>
     190</sect3>
    168191
    169192<sect3><title>apxs</title>
  • general.ent

    r99f6b7d r4fb9a95  
    1 <!ENTITY day          "20">
     1<!ENTITY day          "21">
    22<!ENTITY month        "09">
    33<!ENTITY year         "2004">
    44<!ENTITY version      "svn-&year;&month;&day;">
    5 <!ENTITY releasedate  "September &day;th, &year;">
     5<!ENTITY releasedate  "September &day;st, &year;">
    66<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    77<!ENTITY blfs-version "cvs">                  <!-- cvs|[release #] -->
     
    218218                                     
    219219<!-- Chapter 24 -->                 
    220 <!ENTITY apache-version               "2.0.50"> 
     220<!ENTITY apache-version               "2.0.51"> 
    221221<!ENTITY php-version                  "5.0.1"> 
    222222<!ENTITY proftpd-version              "1.2.9"> 
  • introduction/welcome/changelog.xml

    r99f6b7d r4fb9a95  
    2323<itemizedlist>
    2424
    25 <listitem><para>September 20th, 2004 [randy]: Updated to
     25<listitem><para>September 21th, 2004 [randy]: Updated to
     26Apache-2.0.51; modified commands in Thunderbird instructions to fit on a
     27printed page.</para></listitem>
     28
     29<listitem><para>September 20th, 2004 [randy]: Updated to
    2630Thunderbird-0.8.</para></listitem>
    2731
    28 <listitem><para>September 19th, 2004 [randy]: Updated to
     32<listitem><para>September 19th, 2004 [randy]: Updated to 
    2933Firefox-1.0 Preview Edition.</para></listitem>
    3034
  • xsoft/other/thunderbird.xml

    r99f6b7d r4fb9a95  
    162162    /opt/thunderbird-&thunderbird-version;/include/thunderbird-&thunderbird-version;/nss &amp;&amp;
    163163chown -R root:root /opt/thunderbird-&thunderbird-version;/include/thunderbird-&thunderbird-version;/nss &amp;&amp;
     164export CHROME_PATH="/opt/thunderbird-&thunderbird-version;/lib/thunderbird-&thunderbird-version;/chrome" &amp;&amp;
    164165sed -i.orig -e "/cookieContextOverlay/d" \
    165     /opt/thunderbird-&thunderbird-version;/lib/thunderbird-&thunderbird-version;/chrome/overlayinfo/messenger/content/overlays.rdf &amp;&amp;
     166    $CHROME_PATH/overlayinfo/messenger/content/overlays.rdf &amp;&amp;
    166167sed -i.orig -e "/cookieContextOverlay/d" -e "/helpMenuOverlay/d" \
    167     /opt/thunderbird-&thunderbird-version;/lib/thunderbird-&thunderbird-version;/chrome/overlayinfo/communicator/content/overlays.rdf &amp;&amp;
    168 ln -sf /opt/thunderbird-&thunderbird-version;/bin/thunderbird /usr/bin/MozillaThunderbird</command></userinput></screen>
     168    $CHROME_PATH/overlayinfo/communicator/content/overlays.rdf &amp;&amp;
     169unset CHROME_PATH &amp;&amp;
     170ln -sf /opt/thunderbird-&thunderbird-version;/bin/thunderbird \
     171    /usr/bin/MozillaThunderbird</command></userinput></screen>
    169172
    170173<para>Install the <application>Enigmail</application> extension by running
Note: See TracChangeset for help on using the changeset viewer.