E D R , A S I H C RSS

FrontPage CVSpserver

서버 세팅 (pserver)

# emerge cvs xinetd
(pserver 는 xinetd 으로 처리한다)

# rc-update add xinetd default

# vi /etc/xinetd.conf (아래부분 주석처리한다)
       only_from      = localhost

# cat /etc/xinetd.d/cvspserver (아래와같이 입력해준다)
service cvspserver
{
        disable         = no
        socket_type     = stream
        wait            = no
        user            = root
        group           = cvs
        log_type        = FILE /var/log/cvspserver
        protocol        = tcp
        env             = HOME=/backup/cvs
        log_on_failure  += USERID
        port            = 2401
        server          = /usr/bin/cvs
        server_args     = -f --allow-root=/backup/cvs/jwFreeNote pserver
}
 * 저장소는 /backup/cvs 이고, jwFreeNote 프로젝트만 등록했다

# useradd cvs
# groupadd cvs
# chown -R root:cvs /backup/cvs
# chmod -R 775 /backup/cvs
(권한설정)

# export CVSROOT=/backup/cvs/jwFreeNote
# cvs init (cvs 초기화)
# cd /backup/cvs/jwFreeNote/CVSROOT/
# htpasswd2 -c passwd tongseob (pserver 사용자 암호등록)

# /etc/init.d/xinetd start
# netstat -l | grep cvs (포트가 열려서 서비스가 되는지 확인)
tcp        0      0 *:cvspserver            *:*                     LISTEN


클라이언트 세팅

1. 환경변수 등록
$ export CVSROOT=:pserver:tongseob@tongseob.info:/backup/cvs/jwFreeNote
2. login
$ cvs login
3. check out (모듈이 등록되어 있을시)
$ cvs checkout BookData

  • TortoiesCVS setting

CVSROOT :pserver:tongseob@tongseob.info:/backup/cvs/jwFreeNote
서버 tongseob.info
포트
저장소폴더 /backup/cvs/jwFreeNote
사용자명 tongseob
모듈 BookData
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-08-03 00:10:46
Processing time 0.0135 sec