HOW TO CREATE A CVS SERVER USING RED HAT LINUX 7.1 or 7.2

There seems to be a severe lack of step-by-step instructions on how to setup a CVS server using the Concurrent Versions System. The available documentation is sparse and less than complete. I have included a list of the books that are most useful for setting up a CVS server at the bottom of this page. This page does not attempt to explain how to use CVS, there is plenty of documentation already available for using CVS. This page instead is designed to give you step-by-step instructions on how to set up such a server. The instructions here assume you are using Red Hat Linux 7.1 or 7.2. If you are using a different distribution of Linux, then the procedure may be slightly different than the one listed here. The following procedure assumes you want to use RSH as your authentication method and not one of the other methods such as pserver or Kerberos which are more complicated and not covered here. So in a nutshell, here are the steps to follow to get a CVS server up and running. This procedure requires many detailed and tedious steps so take your time and be sure to follow each step exactly:

 

1) Do a clean install of Red Hat Linux 7.1 or 7.2 - boot from the Red Hat CD and when prompted press return to start the GUI Red Hat installer.

2) When the installer starts, click the "Next" button until you get to the screen which asks you to select the type of install you want to do. Click the "Server"

button or "Custom" button to select a server install, then click "Next". Be sure that you install RSH and all the development tool packages in case you need

to rebuild the kernel. Installing web tools and KDE is also a good idea. Fill in any hard disk setup and network setup info as prompted and then let the install

finish. When the install is complete, remove the boot media and reboot the computer. Doing a server install will automatically copy the needed CVS files

to your server so that you do not need to install them manually.

3) pserver is really not secure enough to use for a CVS server on the internet. You want to use RSH to connect to the CVS server from a remote client. For this

reason you want to be sure that both RSH and SSH get installed on the Red Hat Linux server that you are installing to. SSH should be installed by default but

you will probably have to install RSH manually after the server install completes. All of the needed CVS server files will get installed by default - you don't have

to do anything to get these installed.

4) Luckily setting up CVS users and groups is easier when using the RSH connection method than it is for pserver. To complete your CVS server setup under 7.1

or 7.2, go to this excellent web page on the subject and scroll down to the section on "CVS Server".

5) Enjoy!