You are on page 1of 5

!

!" # $
%
# & '# ( &
) & & ! " * +
) & & # & ! ! )
+ + # , - .

/ & ) & # !
& $ * 0$1 )

2
33!!! ) & 3 3
2
33 ) ) & 3 &3 &

! #
& #

! # ! 2
2
33!!! ) & 3

) ! # ! !
4 5 !

& ! &
!

# ) * &
& ) ! ) & # !
! 2

- , - . ) ) ,

su
! 6 ! ! &

cd /usr/local/src

% wget <URL_of_CVS_distribution_file>
! 7" -8 8 # 8 8 9!
" - ! #

: tar -xzvf cvs-1.xx.tar.gz


& ! !
& & #
; ) ! 4 6$ <65 4 $--5 !
#

= cd cvs-1.xx
! #

> ./configure
# 4
& ?5 &

@ make
& #

A make install
& &

# !
) & ) & & & !
# &&
) ! # & ' ? B) ( & &

! 4) 5 ! 4) 5 ; & +

groupadd cvs
useradd –g cvs cvs

! - . &*
! & C * 3 & 3)

!* 4) 5 ! ;
& & ! 4
5 4) 5
4) 5 ! )

su cvs
mkdir ~cvs/cvsroot
chmod 0770 ~cvs/cvsroot
chmod g+s ~cvs/cvsroot

0 D ! *. 2

cvs –d ~cvs/cvsroot init


! "

$ & & 4) 5 ) ! #
! & ! 4) 5 !
; & +

useradd –g cvs brad


passwd brad

!! & # ! . #
&& E & 4# 5 ) & )
F $ ! F 8 '
3 & 3 3 8 (

CVSROOT=/home/cvs/cvsroot
umask 006
export CVSROOT

; ! !- . . # &&
! 0 .& * & &
#2

su brad
cd ~
mkdir testmodule
echo “This is a test file.” >> testmodule/test.txt
cvs import –m “Importing test.” testmodule Vendor-1 Release-1

&& B) # & & &


# &&

/ ! & & 2

+ + # &
2
33!!! 3
G % =A3 3) &

B) # <
2
33!!! ) & 3 3
& 3

You might also like