CVS server on Ubuntu

Install CVS files:
sudo apt-get install cvs

Install the CVS server:
sudo apt-get install cvsd

When prompted in the cvsd installation process for Repository, type in “/cvsrepo”.

Now that the cvsd installation in complete goto /var/lib/cvsd
or seeking for a change(or if there is a new version of cvs updated):

sudo cvsd-buildroot /var/lib/cvsd
If the folder cvsrepo does not exist, then create it ..
sudo mkdir cvsrepo
sudo chown -R cvsd:cvsd cvsrepo

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 +username
sudo vi //var/lib/cvsd/cvsrepo/CVSROOT/config
Change “SystemAuto=no”

Test

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

cvs -d :pserver:username@localhost:/cvsrepo checkout .

Tags:

Leave a Reply

You must be logged in to post a comment.