Pick a Free OS

Configuring CVS and CVSUP on Linux

Installation of CVS and CVSUP

Installing CVS on Redhat Linux 7.1/7.2/7.3

The following steps give simple steps to install CVS software on Redhat Linux 7.1/7.2/7.3

1) Download the tarball cvs-1.11.1p1.tar.gz from http://www.cvshome.com

2) Run “gunzip cvs-1.11.1p1.tar”. You will get file called

cvs-1.11.1p1.tar.

3) Then extract this file using command

“tar –xvf cvs-1.11.1p1.tar”.

4) Then go to directory cvs-1.11.1p1.

5) There you will find a file called INSTALL. Read it once carefully.

6) Now run the command “./configure.”

7) Build it using the command “make”.

8) Install binaries/documentation using command “make install”.

9) Now open file called /etc/services and add the following lines.

Cvspserver 2401/tcp # CVS client/server operations

cvspserver 2401/udp # CVS client/server operations

10) Open file called /etc/xinetd.conf and add the following lines to

that file.

service cvspserver

{

Port = 2401

socket_type = stream

protocol = tcp

wait = no

user = root

passenv =

server = /opt/bin/cvs

server_args = --allow-root=/home/cvs -f pserver

env = HOME=/home/cvs

log = /var/log/cvslog

}

11) Space on both sides of = in the above file is a must.

12) Restart xinetd services by running command “ services xinted

restart “

13) Check whether CVS is running on the port 2401 by using the

following command “nmap 192.168.16.17 |grep 2401”. If the CVS server is

running correctly it will give output as “2401/tcp open

cvspserver ”.

14) Suppose you want to put my CVS repository at /home/cvs. Then create

an environmental variable called CVSROOT which points to /home/cvs.

15) Create the actual repository by the command “cvs -d /home/cvs

init”.

16) Create a link to /etc/password to file called passwd.

17) Now go to the client machine and install the Wincvs available from

//titan/software/cvs.

18) Open Wincvs window. Go to admin>>preferences.

19) At the ‘Enter CVSROOT’ field enter