www.cvshome.org 下载tar.gz包, ./configure;make;make install
建个cvs组,然后建个用户useradd
-g cvs -d /cvs cvs
然后 #su cvs $export CVSROOT=/cvs/public $cvs init
看看/etc/services pserver配置是否打开
cvspserver
2401/tcp # CVS client/server
operations
cvspserver 2401/udp # CVS
client/server operations
在/etc/xinetd.d下面建个cvspserver文件如下
service
cvspserver
{
disable = no
flags = REUSE
socket_type
= stream
wait = no
user = cvs
protocol = tcp
server = /usr/bin/cvs
server_args = -f --allow-root=/cvs/public
pserver
log_on_failure += USERID
}
执行:service xinetd
restart
ok!
自己建用户用Apache的htpasswd,复制粘帖到passwd文件里面
新建writer,readers文件,读写用户分别加入.