Changeset 6893009c


Ignore:
Timestamp:
01/17/2005 12:24:26 AM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 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, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
3b4a48a
Parents:
ebe1291
Message:

Fixed typo and added indexing tags to Apache instructions

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • content/web/apache.xml

    rebe1291 r6893009c  
    2020<?dbhtml filename="apache.html"?>
    2121<title>Apache-&apache-version;</title>
     22<indexterm zone="apache">
     23<primary sortas="a-Apache">Apache</primary></indexterm>
    2224
    2325<sect2>
     
    6466
    6567<para>For security reasons, running the server as an unprivileged user and
    66 group is strongly encouraged.</para>
     68group is strongly encouraged. Create the following group and user using the
     69following commands (as root):</para>
    6770
    6871<screen><userinput><command>groupadd apache &amp;&amp;
    69 useradd -c apache -d /dev/null -g apache -s /bin/false apache</command></userinput></screen>
     72useradd -c "Apache Server" -d /dev/null -g apache -s /bin/false apache</command></userinput></screen>
    7073
    7174<para>The following patch will define the layout of destination directories
     
    8285<screen><userinput><command>./configure --enable-layout=FHS \
    8386    --enable-mods-shared=all &amp;&amp;
    84 make &amp;&amp;
    85 make install &amp;&amp;
     87make</command></userinput></screen>
     88
     89<para>Now, as the root user:</para>
     90
     91<screen><userinput role='root'><command>make install &amp;&amp;
    8692chown root:root /usr/sbin/{apxs,apachectl,dbmmanage,envvars-std,envvars} \
    8793    /usr/include/apache/* /usr/lib/apache/httpd.exp \
    8894    /usr/share/man/man1/{dbmmanage,htdigest,htpasswd}.1 \
    89     /usr/share/man/man8/{ab,apachectl,apxs,httpd}.8 &amp;&amp;
     95    /usr/share/man/man8/{ab,apachectl,apxs,httpd}.8 \
    9096    /usr/share/man/man8/{logresolve,rotatelogs,suexec}.8 &amp;&amp;
    9197chown -R apache:apache /srv/www</command></userinput></screen>
     
    128134<title>Configuring <application>Apache</application></title>
    129135
    130 <sect3>
     136<sect3 id="apache-config">
    131137<title>Config files</title>
    132138
    133139<para><filename>/etc/apache/*</filename></para>
    134 
     140<indexterm zone="apache apache-config">
     141<primary sortas="e-etc-apache">/etc/apache/*</primary></indexterm>
     142<indexterm zone="apache apache-config">
     143<primary sortas="e-etc-apache-httpd.conf">/etc/apache/httpd.conf</primary>
     144</indexterm>
    135145</sect3>
    136146
     
    157167    /etc/apache/httpd.conf</command></userinput></screen>
    158168
    159 <para>Install the <filename>/etc/rc.d/init.d/apache</filename>
    160 init script included in the <xref linkend="intro-important-bootscripts"/>
    161 package.</para>
     169<para id="apache-init">If you want the <application>Apache</application>
     170server to start automatically when the system is booted, install the
     171<filename>/etc/rc.d/init.d/apache</filename> init script included in the
     172<xref linkend="intro-important-bootscripts"/> package.</para>
     173<indexterm zone="apache apache-init">
     174<primary sortas="f-apache">apache</primary></indexterm>
    162175
    163176<screen><userinput><command>make install-apache</command></userinput></screen>
     
    169182<title>Contents</title>
    170183
    171 <para>The <application>Apache</application> package provides
    172 <command>ab</command>,
    173 <command>apachectl</command>,
    174 <command>apr-config</command>,
    175 <command>apu-config</command>,
    176 <command>apxs</command>,
    177 <command>checkgid</command>,
    178 <command>dbmmanage</command>,
    179 <command>htdbm</command>,
    180 <command>htdigest</command>,
    181 <command>htpasswd</command>,
    182 <command>httpd</command>,
    183 <command>instdso.sh</command>,
    184 <command>logresolve</command>,
    185 <command>rotatelogs</command>,
    186 <filename class="libraryfile">libapr</filename>,
    187 <filename class="libraryfile">libaprutil</filename> and
    188 various modules.</para>
    189 </sect2>
    190 
    191 <sect2><title>Description</title>
    192 
    193 <sect3><title>ab</title>
    194 <para><command>ab</command> is a tool for benchmarking your
    195 <application>Apache</application> <acronym>HTTP</acronym> server.
    196 </para></sect3>
    197 
    198 <sect3><title>apachectl</title>
    199 <para><command>apachectl</command> is a front end to the
    200 <application>Apache</application> <acronym>HTTP</acronym>
    201 server which is designed to help the administrator control the
    202 functioning of the <application>Apache</application> httpd daemon.</para>
    203 </sect3>
    204 
    205 <sect3><title>apxs</title>
    206 <para><command>apxs</command>
    207 is a tool for building and installing extension modules for the
    208 <application>Apache</application> <acronym>HTTP</acronym> server.</para></sect3>
    209 
    210 <sect3><title>dbmmanage</title>
    211 <para><command>dbmmanage</command> is used to create and update the
    212 <filename>DBM</filename> format files used to store usernames and passwords 
    213 for basic authentication of <acronym>HTTP</acronym>
    214 users.</para></sect3>
    215 
    216 <sect3><title>htdigest</title>
    217 <para><command>htdigest</command> is used to create and update the
    218 flat-files used to store usernames, realms and passwords for digest
    219 authentication of <acronym>HTTP</acronym> users.</para></sect3>
    220 
    221 <sect3><title>htpasswd</title>
    222 <para><command>htpasswd</command> is used to create and update the
    223 flat-files used to store usernames and passwords for basic authentication of
    224 <acronym>HTTP</acronym> users.</para></sect3>
    225 
    226 <sect3><title>httpd</title>
    227 <para><command>httpd</command> is the <application>Apache</application>
    228 <acronym>HTTP</acronym> server program.</para></sect3>
    229 
    230 <sect3><title>instdso.sh</title>
    231 <para><command>instdso.sh</command> is a script which installs
    232 <application>Apache</application> <acronym>DSO</acronym> modules.</para></sect3>
    233 
    234 <sect3><title>logresolve</title>
    235 <para><command>logresolve</command> is a post-processing program to
    236 resolve <acronym>IP</acronym>-addresses in <application>Apache</application>'s
    237 access log files.</para></sect3>
    238 
    239 <sect3><title>rotatelogs</title>
    240 <para><command>rotatelogs</command> is a simple program for use in conjunction
    241 with <application>Apache</application>'s piped log file feature.</para></sect3>
     184<segmentedlist>
     185<segtitle>Installed Programs</segtitle>
     186<segtitle>Installed Libraries</segtitle>
     187<segtitle>Installed Directories</segtitle>
     188<seglistitem>
     189<seg>ab, apachectl, apr-config, apu-config, apxs, checkgid, dbmmanage, htdbm,
     190htdigest, htpasswd, httpd, instdso.sh, logresolve and rotatelogs</seg>
     191<seg>libapr-0.[so,a], libaprutil-0.[so,a] and /usr/lib/apache/*.so</seg>
     192<seg>/etc/apache, /srv/www, /usr/include/apache, /usr/lib/apache and
     193/var/log/apache</seg>
     194</seglistitem>
     195</segmentedlist>
     196
     197<variablelist>
     198<bridgehead renderas="sect3">Short Descriptions</bridgehead>
     199<?dbfo list-presentation="list"?>
     200
     201<varlistentry id="ab">
     202<term><command>ab</command></term>
     203<listitem><para>is a tool for benchmarking your
     204<application>Apache</application> <acronym>HTTP</acronym> server.</para>
     205<indexterm zone="apache ab">
     206<primary sortas="b-ab">ab</primary></indexterm>
     207</listitem>
     208</varlistentry>
     209
     210<varlistentry id="apachectl">
     211<term><command>apachectl</command></term>
     212<listitem><para>is a front end to the <application>Apache</application>
     213<acronym>HTTP</acronym> server which is designed to help the administrator
     214control the functioning of the <application>Apache</application> httpd
     215daemon.</para>
     216<indexterm zone="apache apachectl">
     217<primary sortas="b-apachectl">apachectl</primary></indexterm>
     218</listitem>
     219</varlistentry>
     220
     221<varlistentry id="apxs">
     222<term><command>apxs</command></term>
     223<listitem><para>is a tool for building and installing extension modules for
     224the <application>Apache</application> <acronym>HTTP</acronym> server.</para>
     225<indexterm zone="apache apxs">
     226<primary sortas="b-apxs">apxs</primary></indexterm>
     227</listitem>
     228</varlistentry>
     229
     230<varlistentry id="dbmanage">
     231<term><command>dbmanage</command></term>
     232<listitem><para>is used to create and update the <filename>DBM</filename>
     233format files used to store usernames and passwords for basic authentication
     234of <acronym>HTTP</acronym> users.</para>
     235<indexterm zone="apache dbmanage">
     236<primary sortas="b-dbmanage">dbmanage</primary></indexterm>
     237</listitem>
     238</varlistentry>
     239
     240<varlistentry id="htdigest">
     241<term><command>htdigest</command></term>
     242<listitem><para>is used to create and update the flat-files used to store
     243usernames, realms and passwords for digest authentication of
     244<acronym>HTTP</acronym> users.</para>
     245<indexterm zone="apache htdigest">
     246<primary sortas="b-htdigest">htdigest</primary></indexterm>
     247</listitem>
     248</varlistentry>
     249
     250<varlistentry id="htpasswd">
     251<term><command>htpasswd</command></term>
     252<listitem><para>is used to create and update the flat-files used to store
     253usernames and passwords for basic authentication of <acronym>HTTP</acronym>
     254users.</para>
     255<indexterm zone="apache htpasswd">
     256<primary sortas="b-htpasswd">htpasswd</primary></indexterm>
     257</listitem>
     258</varlistentry>
     259
     260<varlistentry id="httpd">
     261<term><command>httpd</command></term>
     262<listitem><para>is the <application>Apache</application>
     263<acronym>HTTP</acronym> server program.</para>
     264<indexterm zone="apache httpd">
     265<primary sortas="b-httpd">httpd</primary></indexterm>
     266</listitem>
     267</varlistentry>
     268
     269<varlistentry id="instdso.sh">
     270<term><command>instdso.sh</command></term>
     271<listitem><para>is a script which installs <application>Apache</application>
     272<acronym>DSO</acronym> modules.</para>
     273<indexterm zone="apache instdso.sh">
     274<primary sortas="b-instdso.sh">instdso.sh</primary></indexterm>
     275</listitem>
     276</varlistentry>
     277
     278<varlistentry id="logresolve">
     279<term><command>logresolve</command></term>
     280<listitem><para>is a post-processing program to resolve
     281<acronym>IP</acronym>-addresses in <application>Apache</application>'s
     282access log files.</para>
     283<indexterm zone="apache logresolve">
     284<primary sortas="b-logresolve">logresolve</primary></indexterm>
     285</listitem>
     286</varlistentry>
     287
     288<varlistentry id="rotatelogs">
     289<term><command>rotatelogs</command></term>
     290<listitem><para>is a simple program for use in conjunction with
     291<application>Apache</application>'s piped log file feature.</para>
     292<indexterm zone="apache rotatelogs">
     293<primary sortas="b-rotatelogs">rotatelogs</primary></indexterm>
     294</listitem>
     295</varlistentry>
     296</variablelist>
    242297
    243298</sect2>
  • template/template.xml

    rebe1291 r6893009c  
    118118<xref linkend="intro-important-bootscripts"/> package.</para>
    119119<indexterm zone="TEMPLATE-package TEMPLATE-init">
    120 <primary sortas="f-TEMPLATE-init">TEMPLATE</primary></indexterm>
     120<primary sortas="f-TEMPLATE">TEMPLATE</primary></indexterm>
    121121
    122122<screen><userinput><command>make install-TEMPLATE</command></userinput></screen>
     
    135135<seg>PROGRAM1, PROGRAM2 and PROGRAM3</seg>
    136136<seg>libLIBRARY1, libLIBRARY2 and libLIBRARY3</seg>
    137 <seg>/etc/TEMPLATE, /usr/lib/TEMPLATE,
     137<seg>/etc/TEMPLATE, /usr/include/TEMPLATE, /usr/lib/TEMPLATE,
    138138/usr/share/TEMPLATE-&TEMPLATE-version;,
    139139/usr/share/doc/TEMPLATE-&TEMPLATE-version; and
     
    163163
    164164<varlistentry id="libLIBRARY1">
    165 <term><filename class='libraryfile'>libLIBRARY1</filename></term>
     165<term><filename class='libraryfile'>libLIBRARY1.[so,a]</filename></term>
    166166<listitem><para>contains functions that .....</para>
    167167<indexterm zone="TEMPLATE-package libLIBRARY1">
    168 <primary sortas="c-libLIBRARY1">libLIBRARY1</primary></indexterm>
     168<primary sortas="c-libLIBRARY1">libLIBRARY1.[so,a]</primary></indexterm>
    169169</listitem>
    170170</varlistentry>
Note: See TracChangeset for help on using the changeset viewer.