|
1. cvs ¼¹ö ¼³Ä¡
°¡. AIX¿ë cvs ¼³Ä¡ÆÄÀÏ ´Ù¿î·Îµå ÈÄ ¼³Ä¡(÷ºÎÆÄÀÏ)
1) #rpm -ivh cvs-1.11.17-2.aix5.1.ppc.rpm
2) default·Î /usr/bin¿¡ ¼³Ä¡µÈ´Ù.
2. cvs OS °èÁ¤ »ý¼º
°¡. cvs¿ë ±×·ì»ý¼º : #groupadd cvs
³ª. cvs°èÁ¤ »ý¼º : #useradd -c "cvs's home" -g 300 -d /home/cvs -m -s /bin/ksh cvs
-> 300Àº À§ÀÇ »ý¼ºµÈ cvsÀÇ group ¼ýÀÚ¸¦ Àû¾îÁØ´Ù.
3. Repository ÃʱâÈ (cvs À¯Àú)
°¡. $cvs -d /home/cvs init -> cvs À¯Àú µð·ºÅ丮¸¦ Repository·Î ±×³É »ç¿ë
4. cvs ¼¹ö ½ÇÇà
°¡. cvs°¡ »ç¿ëÇÏ´Â Æ÷Æ® µî·Ï (default : 2401) -> ¸ÕÀú netstat·Î 2401ÀÌ LISTENÇÏ°í ÀÖ´ÂÁö È®ÀÎ
³ª. /etc/services¿¡ ¾Æ·¡ ³»¿ë Ãß°¡
cvspserver 2401/tcp # CVS client/server operations
cvspserver 2401/udp # CVS client/server operations
´Ù. /etc/inetd.conf¿¡ ¾Æ·¡ ³»¿ë¼³Á¤
cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/home/cvs pserver
1) /usr/bin/cvs -> cvs½ÇÇàÆÄÀÏ
2) cvs -> os °èÁ¤
3) /home/cvs -> CVS Repository
5. inetd restart
°¡. ps -ef | grep inetd
³ª. kill -HUP [inetdÀÇ pid]
6. ÀÌŬ¸³½º¿¡¼ cvs¿¬°á
°¡. CVS Repository Exploring Perspective¸¦ ¿¬´Ù
³ª. New > Repository Location ¼±Åà ÈÄ ÀÔ·Â
1) Host : cvs ¼¹ö ip
2) Repository path : /home/cvs
3) User : cvs
4) Password : cvs
5) Connection type : pserver(º¸¾È¿¡´Â º°·Î ¾ÊÁÁÀ¸´Ï ³»ºÎÀûÀ¸·Î¸¸ »ç¿ë)
7. ÀÌŬ¸³½º¿¡¼ Á¦ÀÛÇÑ Project¸¦ Repository¿¡ ÀúÀå
°¡. ÇØ´ç ÇÁ·ÎÁ§Æ® ¸¶¿ì½º¿ìÃø > Team > Share Project
³ª. 6¹ø¿¡¼ ¼³Á¤ÇÑ Repository¼±Åà ÈÄ Àû¿ë
8. Repository¿¡ ÀúÀåÇÑ ÇÁ·ÎÁ§Æ®¸¦ ½ÇÁ¦ WASµîÀÇ webapp¿¡ ¹Ý¿µ(Check Out)
°¡. WASµîÀÇ webapp°æ·Î·Î À̵¿
³ª. $ cvs -d /home/cvs co [Projuct Name]
9. AIX¿¡¼ Repository¿¡ Ãß°¡
¿¹) itshow µð·ºÅ丮¸¦ ¸¸µé°í, itshow.jsp¸¦ Ãß°¡
°¡. $ /home/WebContent/cvs add [-kb] itshow(µð·ºÅ丮 Ãß°¡)
-> -kb : ¹ÙÀ̳ʸ® ÆÄÀÏ Ãß°¡
³ª. $ /home/WebContent/itshow/cvs add itshow.jsp(ÆÄÀÏ Ãß°¡)
´Ù. $ /home/WebContent/itshow/cvs commit -m "add test"
10. ÀÌŬ¸³½º¿¡¼ Ãß°¡ÇÑ µð·ºÅ丮 ¹× ÆÄÀÏÀ» AIX¿¡¼ Repository¿¡ update
¿¹) ÀÌŬ¸³½º¿¡¼ hk µð·ºÅ丮¸¦ ¸¸µé°í, hk.jsp¸¦ Ãß°¡
°¡. $ /home/WebContent/cvs -d /home/cvs update
[Ãâó] AIX 5.3¿¡ CVS ¼³Ä¡|ÀÛ¼ºÀÚ ÁøÁöû³â
|