Archive for October, 2006

CVS server on Ubuntu 6.0.6

Posted on October 8, 2006. Filed under: Linux, Programming, Services |

1.Edit /etc/apt/sources.list
sudo vi /etc/apt/sources.list 
 
uncomment the following two lines:
deb http://cn.archive.ubuntu.com/ubuntu/ dapper universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ dapper universe
 
uncomment the following two lines:update package:
sudo apt-get update
2.Install CVS
install CVS files:
sudo apt-get install cvs 
 
install CVS server:
sudo apt-apt install cvsd
When prompted in the cvsd installation process for Repository, type in “/cvsroot”.
3.Configure CVS
goto /var/lib/cvsd and build the cvsroot:
sudo cvsd-buildroot /var/lib/cvsd 
 
create the folder cvsroot:
sudo mkdir cvsroot

and then initilize the repository
sudo cvs -d /var/lib/cvsd/cvsroot init
sudo chown -R cvsd:cvsd cvsroot
create a user and password:
sudo cvsd-passwd /var/lib/cvsd/cvsroot +justin
and then change the AUTH type:
sudo vi /var/lib/cvsd/cvsroot/CVSROOT/config
uncomment the “SystemAuto=no” line.
4.Test it
cvs -d :pserver:justin@localhost:/cvsroot login
cvs -d :pserver:justin@localhost:/cvsroot checkout .
5.Done

Advertisements
Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...