方法很简单,基本上和linux一样,大概的安装过程可以参考
http://blog.chinaunix.net/u/3176/showart_297126.html
这篇文章,已经比较详细了,下面讲讲FreeBSD不一样的地方。
创建/etc/xinetd.d/cvspserver文件,文件内容是下面
# default: on
# description: The cvs server sessions;
service cvspserver
{
socket_type = stream
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/usr/csvroot pserver
}
然后在/etc/inetd.conf中添加:
cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/usr/cvsroot pserver
在/etc/rc.conf中添加:
inetd_enable="YES"
这样在每次启动的时候,就能够打开cvs了。
阅读(1122) | 评论(0) | 转发(0) |