Windows²Ù×÷ϵͳÉÏÔõô´î½¨GitLab
gitlab ÊÇÒ»¸ö¿ªÔ´µÄ¿ÍÕ»ÖÎÀíϵͳ£¬ËüÄܹ»×ÊÖúÍŶӸüºÃµØÐ×÷¿ª·¢ÏîÄ¿¡£gitlabÊÇÒ»¸ö»ùÓÚgitµÄ´úÂë¿ÍÕ»ÖÎÀíϵͳ£¬Í¨¹ýgitlabÎÒÃÇ¿ÉÒÔÖÎÀíºÍ¿ØÖÆ¿ª·¢Á÷³Ì£¬ÍŶӳÉÔ±¿ÉÒÔÔÚͳһ´úÂë¿âÐͬ¿ª·¢£¬²¢ÇÒ»¹Äܹ»ÊµÏÖÒ»Á¬¼¯³É¡£
±¾ÆªÎÄÕ½«ÏêϸÏÈÈÝÔõÑùÔÚ Windows ²Ù×÷ϵͳÉϴ GitLab¡£ÒÔÏÂÊÇÏêϸµÄ°ì·¨£º
Ê×ÏÈ£¬ÎÒÃÇÐèҪװÖÃÒÀÀµÏÕâЩÒÀÀµÏî°üÀ¨£º
OpenSSH: ÓÃÓÚÓû§Éí·ÝÑéÖ¤ºÍÐÒéÖ§³Ö¡£
Redis: ÓÃÓÚ»º´æºÍÅþÁ¬ GitLab Rails µÄʵÀý¡£
PostgreSQL: ÓÃÓÚ´æ´¢ GitLab ÖеÄÊý¾Ý¡£
ÏÂÔØ×°Öà GitLab ×°ÖóÌÐò£¬¿É´Ó GitLab µÄ¹Ù·½ÍøÕ¾ÏÂÔØ https://about.gitlab.com/install/¡£
ÔËÐÐ GitLab ×°ÖóÌÐò£¬Æ¾Ö¤ÌáÐѾÙÐвÙ×÷¡£
Íê³É×°Öú󣬻á¼û http://localhost:8888£¨Ä¬È϶˿ںÅΪ 8888£©Äܹ»¿´µ½ GitLab µÄµÇ¼½çÃ棬´ËʱÐèÒª¾ÙÐÐÖÎÀíÔ±ÕË»§µÄÉèÖá£Ïêϸ°ì·¨ÈçÏ£º
a. ÊäÈëÓû§ÃûºÍÃÜÂ루ÇëÈ·±£ÃÜÂë×㹻ǿʢ£©¡£
b. ϵͳ»áĬÈÏÌìÉúһЩÐëÒªµÄÉèÖ㬰üÀ¨Ò»Ð©Ä¬ÈÏÉèÖã¬ÀýÈçÓÊÏäºÍ SMTP ÉèÖã¬ÕâЩÉèÖÿÉÒÔƾ֤×Ô¼ºµÄÐèÒª¾ÙÐÐÐ޸ġ£
c. µ¥»÷£¬¡°½¨ÉèÖÎÀíÔ±ÕË»§¡±°´Å¥£¬ÖÎÀíÔ±ÕË»§¾Í½¨ÉèÀÖ³ÉÁË¡£
½ÓÏÂÀ´£¬ÎÒÃÇÐèÒªÉèÖà GitLab ¼¯³ÉµÄÏà¹ØЧÀÍ£¬°üÀ¨£º
a. ÉèÖà SMTP ЧÀÍÆ÷£ºGitLab ÓÃÓÚ·¢ËÍÓʼþÒÔ¼°Í¨ÖªÏà¹ØЧÀÍ״̬£¬ÐèÒªÒÀÀµÒ»¸ö SMTP ЧÀÍÆ÷¡£¿ÉÒÔÔÚÖÎÀíÔ±ÕË»§ÖÐÉèÖÃÓʼþЧÀÍÏà¹ØÐÅÏ¢¡£
b. ÉèÖà GitLab Runner£ºÕâÊÇ GitLab µÄÖ÷Òª²å¼þ£¬ÆäÖ÷Òª×÷ÓÃÊÇÔÚ¿ª·¢Àú³ÌÖÐʵÏÖ×Ô¶¯¹¹½¨ºÍ²âÊÔ£¬²¢½«¹¹½¨°²Åŵ½Éú²úÇéÐÎÖС£¿ÉÒÔÔÚÖÎÀíÔ±ÕË»§ÖÐÉèÖÃÏà¹ØЧÀÍÐÅÏ¢¡£
c. ÉèÖà GitLab Pages£ºÕâÓÃÓÚΪ´æ´¢¿âÌṩһ¸ö¶¨ÖƵģ¬»ùÓÚ HTTP µÄÍøÕ¾¡£ÔÚÖÎÀíÔ±ÕË»§ÖоÙÐÐÏà¹ØÉèÖü´¿É¡£
ÐëÒªµÄÉèÖö¼Íê³ÉÖ®ºó£¬GitLabµÄ×°ÖúÍÉèÖþÍËãÊÇÍê³ÉÁË¡£
×ܽ᣺
±¾ÆªÎÄÕ¼òÆÓÏÈÈÝÁËÔõÑùÔÚ Windows ²Ù×÷ϵͳÉϴ GitLab£¬´Ó×°ÖÃ֮ǰµÄ×¼±¸ÊÂÇ飬µ½×°ÖÃÀú³Ì£¬ÔÙµ½ÉèÖÃÖÎÀíÔ±ÕË»§ºÍÉèÖà GitLab Ïà¹ØЧÀÍ£¬Ï£Íû±¾ÎÄÄܹ»×ÊÖú¸÷È˸üºÃµØÏàʶ GitLab µÄʹÓúʹ¡£
ÒÔÉϾÍÊÇWindows²Ù×÷ϵͳÉÏÔõô´î½¨GitLabµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡