|
首先,我运行了cvs -d /usr/local/cvsroot。
在mandriva2006中,我看到cvsserver是默认安装上的,对mandriva2006下的cvs 有几个问题:
1. cvs server 默认是否启动?
我用指令ps -A 查看,没有cvs server的进程。
2. 如果cvs server 默认启动的话,我怎么连接不上,报错:Connection Refused.
cvs -d :pserver:jnesta@localhost:/usr/local/cvsroot
我的配置:
1. /etc/cvs/cvs.conf
# -*- shell-script -*-
#
# Configuration file for the Mandrake CVS-related scripts
#
# Locations of CVS repositories you want to export via pserver
CVS_REPOS="/usr/local/cvsroot"
# cvs.conf ends here
2. /etc/xinetd.d/cvs
# CVS configuration for xinetd don't forget to specify your CVSROOT in
# /etc/cvs/cvs.conf.
service cvspserver
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/cvspserver
server_args = -f --allow-root=/usr/local/cvsroot pserver
}
先谢了。 |
|