<< PHP Notes | Journals | MySQL Survival Commands >>

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 xemacs //var/lib/cvsd/cvsrepo/CVSROOT/config

Change "SystemAuto=no"

Test

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

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

Copied from http://sanatio.blogspot.com/2005/12/cvs-server-on-ubuntu.html

Just In Case

You're like me who was not paying attention when cvsd was installed and accepted the default repos called demo and myrepos, you can add cvsrepo post-install at the /etc/cvsd/cvsd.conf then restart the cvsd by running sudo /etc/init.d/cvsd restart.

If not, you may be getting errors like this, when you login to cvs: /cvsrepo: no such repository

Additional Resources


Contents

Play Area

Contacts

Wiki Guides

Private

Shortcuts

Interests

Controls

edit SideBar
Login