mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-05 16:07:23 +08:00
677a0f7b62
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@824 af4574ff-66df-0310-9fd7-8a98e5e911e0
38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><userinput>mkdir /cvsroot</userinput> : Create the CVS repository
|
|
directory.</para>
|
|
|
|
<para><userinput>chmod 1777 /cvsroot</userinput> : Sticky bit
|
|
permissions for CVSROOT.</para>
|
|
|
|
<para><userinput>export CVSROOT=/cvsroot</userinput> : Specify new
|
|
CVSROOT for all cvs commands.</para>
|
|
|
|
<para><userinput>cvs init</userinput> : Initialize the new CVS
|
|
repository.</para>
|
|
|
|
<para><userinput>cvs import -m "repository test" cvstest vendortag
|
|
releasetag</userinput> : All source code modules must be imported
|
|
into the CVS repository before use, with the cvs import command. the
|
|
-m flags specifies an initial descriptive entry for the new module.
|
|
the "cvstest" parameter is the name used for the module in all
|
|
subsequent cvs commands. the "vendortag" and "releasetag" parameters
|
|
are used to further identify each CVS module and are mandatory whether
|
|
used or not.</para>
|
|
|
|
<para><userinput>(grep anonymous /etc/passwd || useradd anonymous -s
|
|
/bin/false)</userinput> : Check for an existing anonymous user and
|
|
create one if not found.</para>
|
|
|
|
<para><userinput>echo anonymous: > /cvsroot/CVSROOT/passwd
|
|
</userinput> : Add the anonymous user to the CVS passwd file, which is
|
|
unused for anything else in this configuration.</para>
|
|
|
|
<para><userinput>echo anonymous > /cvsroot/CVSROOT/readers</userinput> : Add the anonymous user to the CVS readers file, a list of
|
|
users who have read only access to the repository.</para>
|
|
|
|
</sect2>
|
|
|