Ignore:
Timestamp:
06/03/2004 02:41:04 AM (18 years ago)
Author:
Larry Lawrence <larry@…>
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, v5_1, xry111/intltool, xry111/test-20220226
Children:
2cbfd78a
Parents:
23d784b
Message:

grammar corrections

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

Location:
server/other/cvsserver
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/other/cvsserver/cvsserver-exp.xml

    r23d784b r65df9fca  
    22<title>Command explanations</title>
    33
    4 <para><command>mkdir /cvsroot</command>: Create the <acronym>CVS</acronym>
     4<para><command>mkdir /home/cvsroot</command>: Create the <acronym>CVS</acronym>
    55repository directory.</para>
    66
    7 <para><command>chmod 1777 /cvsroot</command>: Sticky bit permissions for
     7<para><command>chmod 1777 /home/cvsroot</command>: Set sticky bit permissions for
    88<envar>CVSROOT</envar>.</para>
    99
    10 <para><command>export CVSROOT=/cvsroot</command>: Specify new <envar>CVSROOT
     10<para><command>export CVSROOT=/home/cvsroot</command>: Specify new <envar>CVSROOT
    1111</envar> for all <command>cvs</command> commands.</para>
    1212
     
    1717releasetag</command>: All source code modules must be imported
    1818into the <acronym>CVS</acronym> repository before use, with the
    19 <command>cvs import</command> command.  the <userinput>-m</userinput>
     19<command>cvs import</command> command.  The <userinput>-m</userinput>
    2020flags specifies an initial descriptive entry for the new module.
    21 the "cvstest" parameter is the name used for the module in all
    22 subsequent <command>cvs</command> commands.  the "vendortag" and "releasetag"
     21The "cvstest" parameter is the name used for the module in all
     22subsequent <command>cvs</command> commands.  The "vendortag" and "releasetag"
    2323parameters are used to further identify each <acronym>CVS</acronym> module and
    2424are mandatory whether used or not.</para>
     
    2828create one if not found.</para>
    2929
    30 <para><command>echo anonymous: &gt; /cvsroot/CVSROOT/passwd
     30<para><command>echo anonymous: &gt; /home/cvsroot/CVSROOT/passwd
    3131</command>: Add the anonymous user to the <acronym>CVS</acronym> passwd file,
    3232which is unused for anything else in this configuration.</para>
    3333
    34 <para><command>echo anonymous &gt; /cvsroot/CVSROOT/readers</command>: Add the
     34<para><command>echo anonymous &gt; /home/cvsroot/CVSROOT/readers</command>: Add the
    3535anonymous user to the <acronym>CVS</acronym> readers file, a list of
    3636users who have read only access to the repository.</para>
  • server/other/cvsserver/cvsserver-inst.xml

    r23d784b r65df9fca  
    22<title>Setting up a <acronym>CVS</acronym> server.</title>
    33
    4 <para>We will discuss setting up a <acronym>CVS</acronym> server using OpenSSH
     4<para>A <acronym>CVS</acronym> server will be set up using OpenSSH
    55as the remote access method.  Other access methods, including :pserver: and
    66:server: will not be used for write access to the <acronym>CVS</acronym>
     
    1010:pserver: can be found at the end of this section.</para>
    1111
    12 <para>Configuration of our <acronym>CVS</acronym> server consists of four
     12<para>Configuration of the <acronym>CVS</acronym> server consists of four
    1313steps:</para>
    1414
    1515<sect3><title>1. Create a repository.</title>
    1616<para>Create a new <acronym>CVS</acronym> repository with the following
    17 commands, logged in as root:</para>
    18 <screen><userinput><command>mkdir /cvsroot &amp;&amp;
    19 chmod 1777 /cvsroot &amp;&amp;
    20 export CVSROOT=/cvsroot &amp;&amp;
     17commands:</para>
     18<screen><userinput><command>mkdir /home/cvsroot &amp;&amp;
     19chmod 1777 /home/cvsroot &amp;&amp;
     20export CVSROOT=/home//cvsroot &amp;&amp;
    2121cvs init</command></userinput></screen></sect3>
    2222
     
    2626<acronym>CVS</acronym> repository:</para>
    2727
    28 <screen><userinput><command>export CVSROOT=/cvsroot &amp;&amp;
    29 cd sourcedir &amp;&amp;
    30 cvs import -m "repository test" cvstest vendortag releasetag</command></userinput></screen></sect3>
     28<screen><userinput><command>export CVSROOT=/home/cvsroot &amp;&amp;
     29cd <replaceable>[sourcedir]</replaceable> &amp;&amp;
     30cvs import -m <replaceable>["repository test"] [cvstest] [vendortag] [releasetag]</replaceable></command></userinput></screen></sect3>
    3131
    3232<sect3><title>3. Verify local repository access.</title>
     
    5757
    5858<screen><userinput><command>(grep anonymous /etc/passwd || useradd anonymous -s /bin/false) &amp;&amp;
    59 echo anonymous: &gt; /cvsroot/CVSROOT/passwd &amp;&amp;
    60 echo anonymous &gt; /cvsroot/CVSROOT/readers</command></userinput></screen>
     59echo anonymous: &gt; /home/cvsroot/CVSROOT/passwd &amp;&amp;
     60echo anonymous &gt; /home/cvsroot/CVSROOT/readers</command></userinput></screen>
    6161
    6262<para>If you use <command>inetd</command>, the following command will add the
     
    6464
    6565<screen><userinput><command>echo "2401  stream  tcp  nowait  root  /usr/bin/cvs cvs -f \
    66         --allow-root=/cvsroot pserver" &gt;&gt; /etc/inetd.conf</command></userinput></screen>
     66        --allow-root=/home/cvsroot pserver" &gt;&gt; /etc/inetd.conf</command></userinput></screen>
    6767
    6868<para>Issue a <command>killall -HUP inetd</command> to reread the changed
     
    8282          passenv     = PATH
    8383          server      = /usr/bin/cvs
    84          server_args = -f --allow-root=/cvsroot pserver
     84         server_args = -f --allow-root=/home/cvsroot pserver
    8585     }
    8686<command>EOF</command></userinput></screen>
     
    9191on another machine that can reach the <acronym>CVS</acronym> server via
    9292network.  No account on the <acronym>CVS</acronym> repository is needed.  To
    93 test anonymous access to the <acronym>CVS</acronym> repository log in to
     93test anonymous access to the <acronym>CVS</acronym> repository, log in to
    9494another machine as an unprivileged user and execute the following command:
    9595</para>
    9696
    97 <screen><userinput><command>cvs -d:pserver:anonymous@<replaceable>[servername]</replaceable>:/cvsroot co cvstest</command></userinput></screen>
     97<screen><userinput><command>cvs -d:pserver:anonymous@<replaceable>[servername]</replaceable>:/home/cvsroot co cvstest</command></userinput></screen>
    9898<note><para>Replace <replaceable>[servername]</replaceable> with the <acronym>IP</acronym> address or
    9999hostname of the <acronym>CVS</acronym> server</para></note>
Note: See TracChangeset for help on using the changeset viewer.