- 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
- 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”.
- 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.
- Test it
cvs -d :pserver:justin@localhost:/cvsroot login
cvs -d :pserver:justin@localhost:/cvsroot checkout .
- Done
发表于 @ 2006年07月08日 13:30:00|评论(loading...)|编辑