# 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