If you are not yet running the desktop graphical user interface (GUI), ﬁre it up, and from the Red Hat Start menu, select System Settings, Users and Groups to launch the Red Hat User Manager.
In the dialog that is displayed, click the Add Group button and add a group named The preceding commands create the root directory for the CVS server.
Now that the repository has been created, change to your home directory (for example, /home/syd), and execute the following command, which will check out the # cvs -d /usr/cvsroot checkout CVSROOT cvs checkout: Updating CVSROOT U CVSROOT/checkoutlist U CVSROOT/commitinfo U CVSROOT/config U CVSROOT/cvswrappers U CVSROOT/editinfo U CVSROOT/loginfo U CVSROOT/modules U CVSROOT/notify U CVSROOT/rcsinfo U CVSROOT/taginfo U CVSROOT/verifymsg# Set ‘Reread Log After Verify’ to ‘always’ (the default) # to allow the verifymsg script to change the log # message.
I retrieved a nonstable version of CVS by downloading the ﬁle cvs-1.11.22. You are probably best, however, grabbing the latest stable version you can ﬁnd.
After you have unpacked the ﬁle, Next, while still logged in as root, you need to do some work so that the CVS server daemon executes each time the system is rebooted.
The ﬁrst step is to check to see whether entries like the following are located in /etc/services: .
This is probably the default, but it doesn’t hurt to check.
In this third part of a four-part article series on software configuration management, you’ll learn how to set up and use a CVS server. This article is excerpted from chapter three of the book Setting Up and Using CVS For those of you who are interested, I describe the steps it takes to set up a CVS server on a Red Hat-based system.
That said, if doing system administration makes you nervous, or site policy disallows it, or you do not have root access, check with a local guru or your system administrator for help.
To start the process of getting a CVS server running, you need to download the source for CVS from the Internet, build it, and install it.
The path /usr/cvsroot corresponds to the value used in the server_args ﬁeld of the service aggregate that was created earlier in /etc/xinetd.d.
The following commands create a locks directory below argument speciﬁes the location of the repository.
The work involved in getting a CVS server up and running is not terribly difﬁcult, and can be done in a relatively short amount of time.
You will need root access to the system upon which you are installing the server, and it will help to have a second system with a CVS client so that you can test the result.