glfs/server/other/cvsserver/cvsserver-exp.xml
Larry Lawrence 0482b012c6 exp files tag cleaned
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1274 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-10-02 22:40:45 +00:00

40 lines
1.6 KiB
XML

<sect2>
<title>Command explanations</title>
<para><command>mkdir /cvsroot</command>: Create the <acronym>CVS</acronym>
repository directory.</para>
<para><command>chmod 1777 /cvsroot</command>: Sticky bit permissions for
<envar>CVSROOT</envar>.</para>
<para><command>export CVSROOT=/cvsroot</command>: Specify new <envar>CVSROOT
</envar> for all <command>cvs</command> commands.</para>
<para><command>cvs init</command>: Initialize the new <acronym>CVS</acronym>
repository.</para>
<para><command>cvs import -m "repository test" cvstest vendortag
releasetag</command>: All source code modules must be imported
into the <acronym>CVS</acronym> repository before use, with the
<command>cvs import</command> command. the <userinput>-m</userinput>
flags specifies an initial descriptive entry for the new module.
the "cvstest" parameter is the name used for the module in all
subsequent <command>cvs</command> commands. the "vendortag" and "releasetag"
parameters are used to further identify each <acronym>CVS</acronym> module and
are mandatory whether used or not.</para>
<para><command>(grep anonymous /etc/passwd || useradd anonymous -s
/bin/false)</command>: Check for an existing anonymous user and
create one if not found.</para>
<para><command>echo anonymous: &gt; /cvsroot/CVSROOT/passwd
</command>: Add the anonymous user to the <acronym>CVS</acronym> passwd file,
which is unused for anything else in this configuration.</para>
<para><command>echo anonymous &gt; /cvsroot/CVSROOT/readers</command>: Add the
anonymous user to the <acronym>CVS</acronym> readers file, a list of
users who have read only access to the repository.</para>
</sect2>