Changeset 7319b78 for server/other


Ignore:
Timestamp:
02/01/2003 04:51:51 PM (21 years ago)
Author:
Billy O 'Connor <billyoc@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
123c844
Parents:
9a88a3b9
Message:

<screen> formatting fixes.

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

Location:
server/other
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • server/other/bind/bind-config-exp.xml

    r9a88a3b9 r7319b78  
    11<sect2>
    22<title>Configuration command explanations</title>
    3 <para><screen><userinput>
    4 groupadd -g 200 named
     3<para><screen><userinput>groupadd -g 200 named
    54useradd -m -g named -u 200 -s /bin/false named
    65cd /home/named
  • server/other/bind/bind-inst.xml

    r9a88a3b9 r7319b78  
    44<para>Install BIND by running the following commands:</para>
    55
    6 <para><screen><userinput>
    7 ./configure --prefix=/usr &amp;&amp;
     6<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
    87make &amp;&amp;
    9 make install
    10 </userinput></screen></para>
     8make install</userinput></screen></para>
    119</sect2>
    1210
  • server/other/cvsserver/cvsserver-inst.xml

    r9a88a3b9 r7319b78  
    1515<para>Create a new CVS repository with the following commands,
    1616logged in as root:</para>
    17 <para><screen><userinput>
    18 mkdir /cvsroot &amp;&amp;
     17<para><screen><userinput>mkdir /cvsroot &amp;&amp;
    1918chmod 1777 /cvsroot &amp;&amp;
    2019export CVSROOT=/cvsroot
     
    2625repository:</para>
    2726
    28 <para><screen><userinput>
    29 export CVSROOT=/cvsroot &amp;&amp;
     27<para><screen><userinput>export CVSROOT=/cvsroot &amp;&amp;
    3028cd sourcedir &amp;&amp;
    31 cvs import -m "repository test" cvstest vendortag releasetag
    32 </userinput></screen></para></sect3>
     29cvs import -m "repository test" cvstest vendortag releasetag</userinput></screen></para></sect3>
    3330
    3431<sect3><title>3. Verify local repository access.</title>
     
    3633with the following command:</para>
    3734
    38 <para><screen><userinput>
    39 cvs co cvstest
    40 </userinput></screen></para></sect3>
     35<para><screen><userinput>cvs co cvstest</userinput></screen></para></sect3>
    4136
    4237<sect3><title>4. Verify remote repository access.</title>
     
    5045
    5146
    52 <para><screen><userinput>
    53 export CVS_RSH=/usr/bin/ssh &amp;&amp;
    54 cvs -d:ext:servername:/cvsroot co cvstest
    55 </userinput></screen></para></sect3>
     47<para><screen><userinput>export CVS_RSH=/usr/bin/ssh &amp;&amp;
     48cvs -d:ext:servername:/cvsroot co cvstest</userinput></screen></para></sect3>
    5649</sect2>
    5750<sect2>
     
    6255commands:</para>
    6356
    64 <para><screen><userinput>
    65 (grep anonymous /etc/passwd || useradd anonymous -s /bin/false) &amp;&amp;
     57<para><screen><userinput>(grep anonymous /etc/passwd || useradd anonymous -s /bin/false) &amp;&amp;
    6658echo anonymous: > /cvsroot/CVSROOT/passwd &amp;&amp;
    67 echo anonymous > /cvsroot/CVSROOT/readers
    68 </userinput></screen></para>
     59echo anonymous > /cvsroot/CVSROOT/readers</userinput></screen></para>
    6960
    7061<para>If you use inetd, the following command will add the pserver
    7162entry to /etc/inetd.conf:</para>
    7263
    73 <para><screen><userinput>
    74 echo "2401  stream  tcp  nowait  root  /usr/bin/cvs cvs -f \
    75         --allow-root=/cvsroot pserver" &gt;&gt; /etc/inetd.conf
    76 </userinput></screen></para>
     64<para><screen><userinput>echo "2401  stream  tcp  nowait  root  /usr/bin/cvs cvs -f \
     65        --allow-root=/cvsroot pserver" &gt;&gt; /etc/inetd.conf</userinput></screen></para>
    7766
    7867<para>Issue a killall -HUP inetd to reread the changed inetd.conf
     
    8271entry to /etc/xinetd.conf:</para>
    8372
    84 <para><screen><userinput>
    85 cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"
     73<para><screen><userinput>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"
    8674     service cvspserver
    8775     {
     
    9583         server_args = -f --allow-root=/cvsroot pserver
    9684     }
    97 EOF
    98 </userinput></screen></para>
     85EOF</userinput></screen></para>
    9986<para>Issue a killall -HUP xinetd to reread the changed xinetd.conf
    10087file.</para>
     
    10693and execute the following command:</para>
    10794
    108 <para><screen><userinput>
    109 cvs -d:pserver:anonymous@servername:/cvsroot co cvstest
    110 </userinput></screen><note><para>Replace "servername" with the IP
     95<para><screen><userinput>cvs -d:pserver:anonymous@servername:/cvsroot co cvstest</userinput></screen><note><para>Replace "servername" with the IP
    11196address or hostname of the CVS server</para></note></para>
    11297
  • server/other/leafnode/leafnode-config.xml

    r9a88a3b9 r7319b78  
    1212<para>Add a leafnode entry to the <filename>/etc/inetd.conf</filename>
    1313file with the following command:
    14 <screen><userinput>
    15 echo "nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode" \
    16 &gt;&gt; /etc/inetd.conf
    17 </userinput></screen></para>
     14<screen><userinput>echo "nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode" \
     15&gt;&gt; /etc/inetd.conf</userinput></screen></para>
    1816
    1917<para>xinetd configuration</para>
    2018<para>Add a leafnode entry to the <filename>/etc/xinetd.conf</filename>
    2119file with the following command:
    22 <screen><userinput>
    23 cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"
     20<screen><userinput>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"
    2421        service nntp
    2522        {
     
    3431           per_source      = 3
    3532        }
    36 EOF                                                                 
    37 
    38 </userinput></screen></para>
     33EOF</userinput></screen></para>
    3934
    4035<para>The <filename>/etc/news/config</filename> file must be
     
    4338and save the original for reference : </para>
    4439
    45 <para><screen><userinput>
    46 cp /etc/news/config.example /etc/news/config
    47 </userinput></screen></para>
     40<para><screen><userinput>cp /etc/news/config.example /etc/news/config</userinput></screen></para>
    4841<para>Change the</para>
    4942<para><screen><userinput>server = </userinput></screen></para>
     
    5447following to <filename>/etc/profile</filename> or
    5548<filename>$HOME/.bash_profile</filename> :</para>
    56 <para><screen><userinput>
    57 export NNTPSERVER=127.0.0.1
    58 </userinput></screen></para>
     49<para><screen><userinput>export NNTPSERVER=127.0.0.1</userinput></screen></para>
    5950
    6051</sect3>
  • server/other/leafnode/leafnode-inst.xml

    r9a88a3b9 r7319b78  
    33
    44<para>Install leafnode by running the following commands:</para>
    5 <para><screen><userinput>
    6 groupadd news
     5<para><screen><userinput>groupadd news
    76useradd -g news news
    87./configure --localstatedir=/var --prefix=/usr \
     
    1110make install &amp;&amp;
    1211ldconfig &amp;&amp;
    13 make update
    14 </userinput></screen></para>
     12make update</userinput></screen></para>
    1513</sect2>
    1614
  • server/other/samba/samba-config.xml

    r9a88a3b9 r7319b78  
    6262
    6363<para>Now add the machine trust account for WIN2KBOX:</para>
    64 <para><screen><userinput>
    65 /usr/sbin/useradd -g 100 -d /dev/null -c \
     64<para><screen><userinput>/usr/sbin/useradd -g 100 -d /dev/null -c \
    6665    "machine nickname" -s /bin/false win2kbox$ &amp;&amp;
    6766passwd -l win2kbox$ &amp;&amp;
    68 smbpasswd -a -m win2kbox
    69 </userinput></screen></para>
     67smbpasswd -a -m win2kbox</userinput></screen></para>
    7068
    7169<para>Create the Samba boot script:</para>
     
    111109esac
    112110# End $rc_base/init.d/samba
    113 EOF
    114 
    115 </userinput></screen></para>
     111EOF</userinput></screen></para>
    116112<para>Add the run level symlinks:</para>
    117 <para><screen><userinput>
    118 chmod 754 /etc/rc.d/init.d/samba &amp;&amp;
     113<para><screen><userinput>chmod 754 /etc/rc.d/init.d/samba &amp;&amp;
    119114ln -s  /etc/rc.d/init.d/samba /etc/rc.d/rc0.d/K48samba &amp;&amp;
    120115ln -s  /etc/rc.d/init.d/samba /etc/rc.d/rc1.d/K48samba &amp;&amp;
     
    123118ln -s  /etc/rc.d/init.d/samba /etc/rc.d/rc4.d/S24samba &amp;&amp;
    124119ln -s  /etc/rc.d/init.d/samba /etc/rc.d/rc5.d/S24samba &amp;&amp;
    125 ln -s  /etc/rc.d/init.d/samba /etc/rc.d/rc6.d/K48samba
    126 </userinput></screen></para>
     120ln -s  /etc/rc.d/init.d/samba /etc/rc.d/rc6.d/K48samba</userinput></screen></para>
    127121
    128122<para>Now, we'll use our new boot script to start Samba: </para>
    129 <para><screen><userinput>
    130 /etc/rc.d/init.d/samba start
    131 </userinput></screen></para>
     123<para><screen><userinput>/etc/rc.d/init.d/samba start</userinput></screen></para>
    132124<para>We have to add the SAMBABOX root account to the Samba user list
    133125first in order to join WIN2KBOX to the DOMAIN01 domain: </para>
  • server/other/samba/samba-inst.xml

    r9a88a3b9 r7319b78  
    77</para></note>
    88
    9 <para><screen><userinput>
    10 mkdir -p /etc/samba/private &amp;&amp;
     9<para><screen><userinput>mkdir -p /etc/samba/private &amp;&amp;
    1110mkdir -p /var/cache/samba &amp;&amp;
    1211./configure \
     
    2322echo "swat 901/tcp" &gt;&gt; /etc/services &amp;&amp;
    2423echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" &gt;&gt; \
    25    /etc/inetd.conf
    26 </userinput></screen></para>
     24   /etc/inetd.conf</userinput></screen></para>
    2725</sect2>
    2826
  • server/other/xinetd/xinetd-config.xml

    r9a88a3b9 r7319b78  
    33<para>Create the xinetd.conf file with the following commands: </para>
    44
    5 <para><screen><userinput>
    6 cp /etc/xinetd.conf /etc/xinetd.conf.bak
    7 sed -e 's/etc/sbin/g' xinetd/sample.conf &gt; /etc/xinetd.conf
    8 </userinput></screen></para>
     5<para><screen><userinput>cp /etc/xinetd.conf /etc/xinetd.conf.bak
     6sed -e 's/etc/sbin/g' xinetd/sample.conf &gt; /etc/xinetd.conf</userinput></screen></para>
    97
    108<sect3><title>Config files</title>
     
    1210
    1311<para>Create the xinetd boot script:</para>
    14 <para><screen><userinput>
    15 cat &gt; /etc/rc.d/init.d/xinetd &lt;&lt; "EOF"
     12<para><screen><userinput>cat &gt; /etc/rc.d/init.d/xinetd &lt;&lt; "EOF"
    1613#!/bin/bash
    1714# Begin $rc_base/init.d/xinetd
     
    4744esac
    4845# End $rc_base/init.d/xinetd
    49 EOF
     46EOF</userinput></screen></para>
    5047
    51 </userinput></screen></para>
    5248<para>Add the run level symlinks:</para>
    53 <para><screen><userinput>
    54 chmod 754 /etc/rc.d/init.d/xinetd &amp;&amp;
     49
     50<para><screen><userinput>chmod 754 /etc/rc.d/init.d/xinetd &amp;&amp;
    5551ln -s  /etc/rc.d/init.d/xinetd /etc/rc.d/rc0.d/K49xinetd &amp;&amp;
    5652ln -s  /etc/rc.d/init.d/xinetd /etc/rc.d/rc1.d/K49xinetd &amp;&amp;
     
    6359
    6460<para>Now, we'll use our new boot script to start xinetd: </para>
    65 <para><screen><userinput>
    66 /etc/rc.d/init.d/xinetd start
    67 </userinput></screen></para>
     61<para><screen><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen></para>
    6862
    6963<para>Checking the <filename>/var/log/daemon.log</filename> file
     
    7165similar to the following: </para>
    7266
    73 <para><screen><userinput>
    74 Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
     67<para><screen><userinput>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
    7568executable [line=29]
    7669Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
    7770DISABLING SERVICE [line=29]
    7871Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
    79 executable [line=42]
    80 </userinput></screen></para>
     72executable [line=42]</userinput></screen></para>
    8173
    8274<para>These errors are due to the fact that we don't have most of the
  • server/other/xinetd/xinetd-inst.xml

    r9a88a3b9 r7319b78  
    33
    44<para>Install xinetd by running the following commands:</para>
    5 <para><screen><userinput>
    6 ./configure --prefix=/usr &amp;&amp;
     5<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
    76make &amp;&amp;
    8 make install
    9 </userinput></screen></para>
     7make install</userinput></screen></para>
    108</sect2>
    119
Note: See TracChangeset for help on using the changeset viewer.