歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> CVS 服務器配置與管理

CVS 服務器配置與管理

日期:2017/2/27 9:27:29   编辑:更多Linux
  在/etc/services文件中有如下的兩行,這是配置服務的:     cvspserver 2401/tcp # CVS client/server operations   cvspserver 2401/udp # CVS client/server operations     然後如果是使用inetd來啟動,那麼需要修改修改/etc/inetd.conf文件,   如果使用xinetd,那麼就需要在/etc/xinetd.d/目錄下加入一個啟動cvs的腳本   我的系統使用的是red hat7.0,所以就加入如下的腳本到/etc/xinetd.d/下   [root@local /]# less /etc/xinetd.d/cvspserver   # default: off   # description: The SPOP3 service allows remote users to Access 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,很簡單的。   完成這些之後,就可以重新啟動inetd/xinetd了。   然後執行cvs的命令就可以正常使用cvs了。     不過需要注意的是遠程使用需要設置一下客戶機:   CVSROOT=:pserver:user@host:/cvsrootdir:   eXPort CVSROOT   cvs login   需要將前面兩句加入到你的啟動腳本中去。   如果還有什麼問題,請訪問http://www.cvshome.org/docs/manual/




Copyright © Linux教程網 All Rights Reserved