First of all, there are good link collection page on the internet, so that you can refer to those linked pages for installation of CVS and CVS Server Daemon on each Linux Machines.

CASE 1 : Install CVS using apt-get and xInetd

1. Use apt-get to install CVS.
$ apt-get install cvs

2. Make an account for cvs repository management if possible.
$ useradd -m -G dev srcmanager
$ passwd srcmanager
$ su - srcmanager

3. make a directory for cvs repository and initialize it to serve as cvs repository
$ mkdir cvs_repository
$ chmod g+s cvs_repository
$ cvs -d :local:/home/srcmanager/cvs_repository init

4. Create a xinetd service file as follow and name it to "cvs_pserver". (do this under su privilege)
service cvspserver
        socket_type     = stream
        wait            = no
        user            = root
        group           = cvsuser
        env             = HOME=/home/srcmanager/cvs_repository
        server          = /usr/bin/cvs
        server_args     = -f --allow-root=/home/srcmanager/cvs_repository pserver
        disable         = no

5. restart xinetd
$ invoke-rc.d xinetd restart

6. check if cvspserver service port (2401) is listening well
$ netstat -an | grep 2401


'Software Development > Dev Tools' 카테고리의 다른 글

[SVN] 백업 및 복원  (1190) 2010.02.09
[SVN] 사용자 계정 추가 및 기본 인증 설정  (1196) 2010.02.09
[Trac] 권한 설정하기  (1906) 2009.10.16
[trac] 기본 에디터 대체 플러그인  (1198) 2009.10.14
[Trac] Ticket 삭제하려면..  (494) 2009.10.14
블로그 이미지

Good Joon

IT Professionalist Since 1999