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.0111 sec