哪位高手在Linux上配置过 CVS 服务器?
哪位高手在Linux上配置过CVS服务器?
我的机器已经安装了cvs-1.11.1p1-3
用ROOT帐号cvs -d /cvsroot init,在/cvsroot下有CVSROOT文件夹
在/etc/xinetd.d/目录下创建文件cvspserver,内容如下:
# default: on
# description: The cvs server sessions;
service cvspserver
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/cvsroot pserver
log_on_success +=USERID
log_on_failure +=USERID
disable = no
}
修改该文件权限:
# chmod 644 cvspserver
然后重新启动xinetd:
# /etc/init.d/xinetd restart
然后察看cvs服务器是否已经运行:
[root@mail xinetd.d]# netstat -lnp|grep 2401
但是我没有看到服务进程——因该是tcp 0 0 0.0.0.0:2401 0.0.0.0:* LISTEN 7866/xinetd 吧?
用ROOT帐号连接:cvs -d :pserver:root@host:/cvsroot login
不成功,把host改成192.168.3.160也不行,失败!
我又创建一个访问用户:
# useradd cvspub
# usemod -G cvs cvspub
同样不能连接
谁能帮帮我?或者提供一个LINUX下用的别的版本控制软件。或者告诉我如何删除现在的CVS。我才学
LINUX,比较菜。