分享Ubuntu Linux上边的CVS服务器的配置

来源:岁月联盟 编辑:zhuzhu 时间:2007-08-21
分享Ubuntu Linux上边的CVS服务器的配置内容简介: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. STEP

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 .