SNOWFLAKES DRAWING PAPER

[Ubuntu] CVS server on Ubuntu 6.0.6 본문

참고/정보/ubuntu(우분투)/Linux

[Ubuntu] CVS server on Ubuntu 6.0.6

눈송2 2008. 12. 27. 08:12


CVS server on Ubuntu 6.0.6

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

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


Comments