Installing and Managing CVS179
passenv =
server = /usr/bin/cvs
server_args = --allow-root=/usr/local/cvsroot pserver
}
If you have installed multiple repositories, they need to be specified on the
server_args
line. To do this, simply insert additional –
allow-root=
commands. Please
note that these additional arguments
must
appear on the same line.
In order for
xinetd
to acknowledge this change, it needs to reread its configuration files.
To do this, send the server a
HUP
signal with the
killall
command.
# killall –HUP xinetd
At this point, the repository should be up and running.
To quickly review the steps for installing CVS:
1.
Install the CVS application (RPM or source code)
2.
Create CVS user and group
3.
Create CVS repositories
4.
Change the owner and group of the repositories
5.
Add users to
$CVSROOT/CVSROOT/passwd
6.
Change file permissions on the password file(s)
7.
Edit
/etc/services
to ensure that
cvspserver
is present
8.
Configure
/etc/xinetd.d
to acknowledge CVS requests
9.
Restart
xinetd
6.3.2Importing a Project into the Repository
Once you have CVS installed and configured, the next step is to import a project into the
repository. This creates a directory for the project, copies the files into the repository and sets up
the information that will be used to track the project as it gets modified during the development
process.
Assuming that the directory
/home/lcp/fuzion
holds the source code and the files of
the project, to import the project you need to change to that directory and issue the CVS import
command.
The options for the import command include the name of the project, the vendor tag, and
the release tag(s). The vendor tag is not currently used by CVS, and can contain any information
that you care to put in. The release tag can be used to designate specific releases, but the source
code can also be checked out by the numeric release designation. Any information that you care
to put in these fields may be used, but they must be included with the import command.
# cd /home/lcp/fuzion
# cvs import Fuzion OSS_Software release_0_1
Next Page >>
<< Previous Page
Back to the Table of Contents