分类: LINUX
2008-03-22 22:52:55
来源:赛迪网 作者:sixth |
STEP1:
Install CVS files:
sudo apt-get install cvs
STEP2:
Install the CVS server:
sudo apt-get install cvsd
When prompted in the cvsd installation process for Repository, type in “/cvsrepo”.
STEP3:
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
STEP4:
If the folder cvsrepo does not exist, then create it ..
cd /var/lib/cvsd
sudo mkdir cvsrepo
sudo chown -R cvsd:cvsd cvsrepo
STEP5:
and then initialize the repository
sudo cvs -d /var/lib/cvsd/cvsrepo init
STEP6:
create a user and password
sudo cvsd-passwd /var/lib/cvsd/cvsrepo [username]
sudo vi /var/lib/cvsd/cvsrepo/CVSROOT/config
Change "SystemAuto=no"
STEP7:
Test
cvs -d :pserver:username@localhost:/cvsrepo login
cvs -d :pserver:username@localhost:/cvsrepo checkout . |