1、下载cvs
java代码: |
cvs-1.11.18-cvshome.org.9x.1.i386.rpm
|
2、安装
java代码: |
#rpm -ivh cvs-1.11.18-cvshome.org.9x.1.i386.rpm
|
3、加入用户
java代码: |
#groupadd cvs #mkdir /home2/cvsroot #useradd -g cvs -G cvs -d /home/cvsroot cvsroot #su - cvsroot $chmod 775 .
|
4、加入服务
java代码: |
#more /etc/services|grep cvspserver cvspserver 2401/tcp #CVS client/server operations cvspserver 2401/udp #CVS client/server operations
#vi /etc/xinetd.d/cvspserver service cvspserver { disable = no flags = REUSE socket_type = stream wait = no user = root server = /usr/bin/cvs server_args = -f --allow-root=/home/cvsroot pserver log_on_success += USERID log_on_failure += USERID } #ls /etc/xinetd.d/cvspserver /etc/xinetd.d/cvspserver
|
5、启动服务
java代码: |
#su - cvsroot #cvs -d /home/cvsroot init #service xinetd restart #netstat -l |grep cvspserver tcp 0 0 *:cvspserver *:* LISTEN
|
posted on 2005-10-29 20:26
老妖 阅读(216)
评论(0) 编辑 收藏