您的位置:軟件測(cè)試 > 開(kāi)源軟件測(cè)試 > 開(kāi)源配置管理工具 > cvs
CVS服務(wù)器配置與管理
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2013/2/6 14:34:57 ] 推薦標(biāo)簽:

在/etc/services文件中有如下的兩行,這是配置服務(wù)的:

cvspserver 2401/tcp # CVS client/server operations
cvspserver 2401/udp # CVS client/server operations

然后如果是使用.netd來(lái)啟動(dòng),那么需要修改修改/etc/inetd.conf文件,如果使用xinetd,那么需要在/etc/xinetd.d/目錄下加入一個(gè)啟動(dòng)cvs的腳本我的系統(tǒng)使用的是red hat7.0,所以加入如下的腳本到/etc/xinetd.d/下
[root@local /]# less /etc/xinetd.d/cvspserver
# default: off
# description: The SPOP3 service allows remote users to aclearcase/" target="_blank" >ccess their mail
# using an POP3 client with SSL support such as Netscape
# Communicator or fetchmail.
service cvspserver
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/cvs
server_args = --allow-root=/source pserver
log_on_success += USERID
log_on_failure += USERID
disable = no
}
如果使用inetd,也可以修改inetd.conf,很簡(jiǎn)單的。
完成這些之后,可以重新啟動(dòng)inetd/xinetd了。
然后執(zhí)行cvs的命令可以正常使用cvs了。

不過(guò)需要注意的是遠(yuǎn)程使用需要設(shè)置一下客戶機(jī):
CVSROOT=:pserver:user@host:/cvsrootdir:
export CVSROOT
cvs login
需要將前面兩句加入到你的啟動(dòng)腳本中去。
如果還有什么問(wèn)題,請(qǐng)?jiān)L問(wèn)http://www.cvshome.org/docs/manual/

軟件測(cè)試工具 | 聯(lián)系我們 | 投訴建議 | 誠(chéng)聘英才 | 申請(qǐng)使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd