ÔõÑùÔÚWindowsÉϴһ¸öGitLabЧÀÍÆ÷
ÔÚ½ñÌìµÄÈí¼þ¿ª·¢ÁìÓò£¬ÍŶӵÄÏàÖú±äµÃÔ½À´Ô½Ö÷Òª¡£gitlabÊÇÒ»¸ö´úÂëÍйÜƽ̨£¬¿É×ÊÖúÍŶÓÓÐÓõØÖÎÀí²¢¹²Ïí´úÂë¡£±¾ÎĽ«ÏÈÈÝÔõÑùÔÚwindowsÉϴһ¸ögitlabЧÀÍÆ÷¡£
µÚÒ»²½£ºÏÂÔز¢×°ÖÃGitLab Community Edition
ÔÚGitLabµÄ¹Ù·½ÍøÕ¾£¨https://about.gitlab.com/installation/#windows£©ÉÏ£¬¿ÉÒÔÏÂÔØCommunity Edition£¨CE£©°æ±¾µÄGitLab ¡£Æ¾Ö¤²Ù×÷ϵͳµÄ°æ±¾Ñ¡ÔñÏÂÔØ£¬½¨ÒéÑ¡Ôñ×îеİ汾¡£ÏÂÔغó£¬ÔËÐÐ×°ÖóÌÐò¡£
µÚ¶þ²½£ºÉèÖÃGitLabЧÀÍÆ÷
×°ÖÃÍê³Éºó£¬Æ¾Ö¤ÌáÐÑÆô¶¯GitLabЧÀÍÆ÷¡£ÔÚĬÈÏÉèÖÃÏ£¬Ð§ÀÍÆ÷½«ÔÚ»úеµÄlocalhostÉϼàÌý»á¼û¡£ÈôÐèÒªÐ޸Ķ˿ںţ¬¿ÉÒÔÔÚgitlab.rbÖÐÐ޸ġ£ÀýÈ磬Ï뽫¶Ë¿ÚºÅ´ÓĬÈϵÄ80¸ÄΪ8080,¿ÉÒÔÐÞ¸ÄÈçÏ£º
external_url ‘http://localhost:8080’
ÐÞ¸ÄÍê³Éºó£¬ÐèÒªÖØÐÂÆô¶¯Gitlab¡£
µÚÈý²½£º½¨ÉèÖÎÀíÔ±ÕÊ»§
Ê״εǼµ½GitLabºó£¬ÐèÒª½¨ÉèÖÎÀíÔ±ÕÊ»§¡£ÖÎÀíÔ±ÕÊ»§¿ÉÒÔ»á¼ûËùÓеÄÖÎÀí¹¦Ð§¡£
µÚËIJ½£º½¨ÉèÏîÄ¿
ÔÚGitLabÖУ¬ÏîÄ¿ÊÇÒ»¸ö´úÂë¿â¡£ÒªÔÚGitLabÉϽ¨ÉèÏîÄ¿£¬¿ÉÒÔµã»÷Ò³ÃæÓÒÉÏ·½µÄ¡°New Project¡±°´Å¥£¬È»ºóÊäÈëÏîÄ¿Ãû³ÆºÍÐÎò¡£Ö®ºó£¬µã»÷¡°Create Project¡±°´Å¥¼´¿É¡£
µÚÎå²½£ºÉèÖÃSSH»á¼û
SSHÊÇÒ»ÖÖÇå¾²ÐÒ飬ÓÃÓÚÇå¾²µØʹÓÃÍøÂçЧÀÍ¡£GitLabÖ§³ÖSSH»á¼û£¬ÒÔ±ãʹÓÃSSHÃÜÔ¿¾ÙÐдúÂë»á¼û¡£ÒªÉèÖÃSSH»á¼û£¬ÇëÔÚÏÂÁîÐÐÖÐÔËÐÐÒÔÏÂÏÂÁ
ssh-keygen -t rsa -C “your.email@example.com”
ƾ֤ÌáÐÑÌìÉúSSHÃÜÔ¿¡£×îÖÕ£¬½«¹«Ô¿¸´ÖÆÕ³Ìùµ½GitLabÖеÄSSH KeysÖС£
µÚÁù²½£ºÌí¼ÓÍŶӳÉÔ±
¿É½«ÆäËûÍŶӳÉÔ±Ìí¼Óµ½ÏîÄ¿ÖС£ÒªÌí¼ÓÒ»¸öгÉÔ±£¬Çë·¿ªÏîÄ¿Ò³Ãæ²¢µ¥»÷¡°Settings¡±Ñ¡Ï¡£ÔÚ×ó²à²Ëµ¥ÖУ¬Ñ¡Ôñ¡°Members¡±Ñ¡Ïî¡£ÔÚ¡°Members¡±Ò³ÃæÖУ¬Äú¿ÉÒÔÌí¼ÓгÉÔ±£¬ÒÔ¼°Îª³ÉÔ±·ÖÅɽÇÉ«¡£
×ÛÉÏËùÊö£¬ÒªÔÚWindowsÉϴGitLabЧÀÍÆ÷£¬ÐèÒªÏÂÔز¢×°ÖÃGitLab£¬ÉèÖÃЧÀÍÆ÷£¬½¨ÉèÖÎÀíÔ±ÕÊ»§£¬½¨ÉèÏîÄ¿£¬ÉèÖÃSSH»á¼ûÒÔ¼°Ìí¼ÓÍŶӳÉÔ±¡£Í¨¹ýÕâЩ°ì·¨£¬Äú¾Í¿ÉÒÔÔÚWindowsÉϴһ¸öGitLabЧÀÍÆ÷£¬ÒÔ±ã¸üºÃµØÖÎÀíºÍ¹²Ïí´úÂë¡£
ÒÔÉϾÍÊÇÔõÑùÔÚWindowsÉϴһ¸öGitLabЧÀÍÆ÷µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡