gitosis
gitosis¸¦ »ç¿ëÇÏ¸é °³ÀÎÀûÀ¸·Î(¶Ç´Â
¼³Ä¡ ¶µ¥ºñ¾È/¿ìºÐÅõÀÇ °æ¿ì gitosis ÆÐÅ°Áö·Î °£´ÜÇÏ°Ô ¼³Ä¡ÇÒ ¼ö ÀÖ´Ù. ¼³Ä¡ÇÑ ¼¹ö¿¡ gitosis ¶ó´Â »ç¿ëÀÚ°¡ ÀÚµ¿À¸·Î Ãß°¡ µÈ´Ù.
SERVER$ sudo apt-get install gitosis
gitosis·Î È£½ºÆà µÇ´Â ÇÁ·ÎÁ§Æ®¿Í »ç¿ë ±ÇÇÑÀ» °ü¸®Çϱâ À§ÇÑ °ü¸®ÀÚÀÇ sshÅ°(°ø°³Å°)°¡ ÇÊ¿äÇÏ´Ù. ´ÙÀ½Àº ÇöÀç °èÁ¤ÀÇ ssh °³ÀÎ Å°·ÎºÎÅÍ °ø°³Å° ÃßÃâÇÑ ¿¹.
LOCAL$ ssh-keygen -y > gitosis_admin.pub
ssh-rsa FKL...SFKL yellow_bear@kldp
°ø°³Å°¸¦ ¼¹ö¿¡ º¹»çÇÏ°í ´ÙÀ½ ¸í·É¾î·Î ÀúÀå¼Ò°ú ±ÇÇÑÀ» °ü¸®ÇÏ´Â ÇÁ·ÎÁ§Æ® gitosis-admin À» -ÀÚµ¿À¸·Î- »ý¼ºÇÑ´Ù. gitosis »ç¿ëÀÚ·Î ½ÇÇàÇϱâ À§ÇØ sudo ¸í·É¾î¸¦ »ç¿ëÇÑ´Ù´Â °ÍÀ» À¯ÀÇÇ϶ó.
SERVER$ sudo -H -u gitosis gitosis-init < gitosis_admin.pub
LOCAL$ cd workspace
LOCAL$ git clone gitosis@address.of.the.server:gitosis-admin.git LOCAL$ tree . |-- gitosis.conf `-- keydir `-- yellow_bear@kldp.pub »ç¿ëÀÚ¿Í ÇÁ·ÎÁ§Æ® °ü¸®´Â gitosis.conf ÆÄÀÏÀ» ÆíÁýÇØ ¼öÇàÇÑ´Ù. »ç¿ëÀÚ Ãß°¡ ½Ã keydir Æú´õ¿¡ gitosis.conf¿¡¼ ÀûÀº »ç¿ëÀÚ À̸§ + .pub ·Î ssh °ø°³Å°¸¦ ³Ö¾î Áà¾ß ÇÑ´Ù.
references ¶
|
Your domestic life may be harmonious. |