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文件,讀寫用戶分別加入.
建個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文件,讀寫用戶分別加入.