1) Login as root user and check that the software packages, or higher versions,are installed in your Server

gcc version 4.1.2

If not, please Install/upgrade the Packages by using the following commands as Examples.  

Install G++ files:
#apt-get install g++

Install CVS files:
#apt-get install cvs

3. Create the User to install and compile the apache

#groupadd cvsd

#useradd -u 1010 -g cvsd -d /home/cvsd -m -s /bin/ksh -c “CVS Server” cvsd 

If the folder cvsrepo does not exist, then create it ..

#mkdir cvsrepo

#chown –R cvsd:cvsd cvsrepo 

Install the CVS server:Download the required following package

#wget http://ch.tudelft.nl/~arthur/cvsd/cvsd-1.0.13.tar.gz 

Extract the cvsd package and install by using the following steps.

$tar –zvxf cvsd-1.0.13.tar.gz

$cd /usr/src/cvsd-1.0.13 

$./configure –prefix=/var/lib/cvsd/ \ /var/lib/cvsd/ 


CVSD Installation successfully complete
$ cd /var/lib/cvsd 

cvsd-buildroot /var/lib/cvsd and then initilize the repository

sudo cvs -d /var/lib/cvsd/cvsrepo init

create a user and password

sudo cvsd-passwd /var/lib/cvsd/cvsrepo rbalara

#vi /var/lib/cvsd/cvsrepo/CVSROOT/config

Change

“SystemAuto=no”

Test  

cvs -d :pserver:rbalara@localhost:/cvsrepo login 

cvs -d :pserver:rides@localhost:/cvsrepo checkout