ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > SuSE

SUSEÉÏcvsµÄÅäÖ㬹ؼüµãÔÚÓÚÅäÖÃÎļþÃû

·¢²¼Ê±¼ä:2007-11-07 11:19:07À´Ô´:ºìÁª×÷Õß:criptshell
°ï±ðÈË¿´ÁË°ëÌ죬½á¹û·¢ÏÖÈ˼ÒÓõÄÊÇsuse£¬¸ù±¾²»ÊǺìñ×Ó£¬Ð´µÄÅäÖÃÎļþ¸ù±¾¾Í²»ÊÇÒ»¸ö¡£

Ò»£® ·þÎñÆ÷ÅäÖÃ
1£®´´½¨cvs×éºÍÓû§
useradd cvs # ´´½¨cvsÕË»§
passwd cvs # ÅäÖÃÃÜÂë

groupadd # ´´½¨cvs×é
groupmod -A cvs cvs # ½«cvsÓû§Ìí¼Óµ½cvs×é

2£®´´½¨²Ö¿âºÍ³õʼ»¯²Ö¿â
mkdir /usr/local/cvs # ´´½¨cvs²Ö¿â
cvs -d /usr/local/cvs init # ³õʼ»¯cvs²Ö¿â

3£®ÅäÖÃcvs·þÎñ
vi /etc/services # ²é¿´servicesÄÚcvsserverÊÇ·ñ¿ªÆô£¨ÈôûÓпªÆôÔò½«Ç°ÃæµÄ×¢ÊÍ·û¡®#¡¯È¥´¦µ÷¼´¿É£©

vi /etc/xinetd.d/cvs # ÅäÖÃcvs·þÎñ
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/usr/local/cvs pserver
}
²¿·ÖΪ²Ö¿âĿ¼£¬¼´µÚ2²½´´½¨ºÍ³õʼ»¯µÄ²Ö¿â

4£®ÖØÆô·þÎñ
/etc/init.d/xinetd.d restart

¶þ£®¿Í»§¶ËÅäÖÃ
1£®ÅäÖÃCVSROOT±äÁ¿
export CVSROOT=:pserver:cvs@localhost:/usr/local/cvs
2£®µÇ½
cvs login # ÊäÈëÃÜÂë
3£®¼ìÈëÐÂÄ£¿é
cvs import -m "write some comments here" project_name vendor_tag release_tag
4£®½øÐи÷ÖÖcvs²Ù×÷¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ