WindowsÉÏÔõôװÖÃGitLab£¿°ì·¨·ÖÏí
gitlabÊÇÒ»¸öwebÓ¦ÓóÌÐò£¬ÎªÓû§Ìṩgit´úÂë¿ÍÕ»ÖÎÀí¡¢ÎÊÌâ¸ú×Ù¡¢ci/cd×Ô¶¯»¯¹¹½¨µÈ¹¦Ð§¡£ÔÚwindowsƽ̨ÉÏ×°ÖÃgitlabÊÇÊ®·ÖÀû±ãµÄ£¬Ö»ÐèÒª×ñÕÕÒÔϼ¸¸ö°ì·¨¼´¿É¡£
°ì·¨Ò»£º×°ÖÃÒªÇó
ÔÚ×°ÖÃ֮ǰ£¬ÐèҪȷ±£ÏµÍ³ÇкÏGitLabµÄÒªÇó£º
²Ù×÷ϵͳ£ºWindows Server 2012»òÒÔÉÏ°æ±¾£»
Memory£ºÖÁÉÙÐèÒª4GBÎïÀíÄڴ棻
´æ´¢£º×îÉÙ20GBÓ²ÅÌ´æ´¢¿Õ¼ä£»
CPU£ºÖÁÉÙÐèÒª4ºËCPU£»
.NET Framework£ºÖÁÉÙÐèÒª.NET Framework 4.5.2¡£
°ì·¨¶þ£º»ñÈ¡GitLab×°ÖóÌÐò
´ÓGitLab¹Ù·½ÍøÕ¾ https://about.gitlab.com/install/ ÉÏÏÂÔØËùÐè°æ±¾µÄGitLab×°ÖóÌÐò¡£Ñ¡ÔñWindowsƽ̨£¬ÏÂÔØÊʺÏÄúµÄ°æ±¾¡£×°ÖóÌÐòÓÐÁ½¸ö£¬Ò»¸öÊÇGitLab-CE£¨ÉçÇø°æ£©£¬ÁíÒ»¸öÊÇGitLab-EE£¨ÆóÒµ°æ£©¡£±¾ÎÄÒÔGitLab-CE ΪÀý¡£
°ì·¨Èý£º×°ÖÃGitLab
Ë«»÷GitLab×°ÖóÌÐò£¬×îÏÈ×°ÖÃÏòµ¼¡£Ê×ÏÈÑ¡Ôñ×°Ö÷¾¶ºÍÊý¾Ý´æ´¢Â·¾¶¡£½ÓÏÂÀ´£¬Ñ¡Ôñ×°Ö÷½·¨£º×îµÍ°æÐèÒª.NET Framework 4.5.2»òÒÔÉÏ£¬ÈçÄúµÄÅÌËã»úÉÏÒѾÓÐËùÐèµÄ.NET¿ò¼Ü£¬¿ÉÒÔÖ±½ÓÑ¡ÔñMinimum£»ÈôÊÇûÓУ¬ÔòÐèҪѡÔñ°üÀ¨.NET¿ò¼ÜµÄ×°ÖóÌÐò¡£×°ÖóÌÐò×îÏÈÖ´ÐÐ×°ÖòÙ×÷£¬´ËʱÐèÒªÆÚ´ýÒ»¶Îʱ¼äÒÔÍê³É×°Öá£
°ì·¨ËÄ£ºÉèÖÃGitLab
×°ÖÃÍê³Éºó£¬ÄúÐèÒªÉèÖÃGitLab¡£Í¨¹ýÏÂÁîÐпØÖÆ̨£¬½øÈë×°ÖÃĿ¼£¬ÊäÈëÒÔÏÂÏÂÁ¼´¿ÉÆô¶¯GitLabµÄÉèÖÃÏòµ¼£º
gitlab reconfigure
µÇ¼ºó¸´ÖÆ
GitLab½«»á¼ì²éÉèÖã¬×°ÖÃÊý¾Ý¿âºÍÆäËû±ØÐè×é¼þ¡£ÔÚÍê³ÉÖ´Ðкó£¬ÖÎÀíÔ±£¨root£©ÕË»§µÄĬÈÏÃÜÂ뽫±»ÌìÉú¡£ÃÜÂë±»´æ´¢ÔÚ×°ÖÃĿ¼µÄ˽ÃÜÎļþÖУ¬¸ÃÎļþ³õʼֻÔÊÐíÖÎÀíÔ±»á¼û¡£ÖÎÀíÔ±¿ÉÒԵǼµ½GitLabµÄweb UI£¬Ð޸ĺÍÖÎÀíÓû§¡¢ÏîÄ¿£¬ÉèÖûá¼ûȨÏ޵ȡ£
°ì·¨Î壺µÇ¼GitLab
·¿ªÈκÎä¯ÀÀÆ÷£¬ÊäÈëGitLabµÄIPµØµã»òÕßÓòÃû£¬½øÈëµÇ¼µÄÒ³Ã棬ÊäÈërootÓû§ºÍËüÌìÉúµÄĬÈÏÃÜÂ룬µÇ¼µ½GitLab¡£
°ì·¨Áù£ºÊ¹ÓÃGitLab
×°ÖÃÍê³Éºó£¬Äú¿ÉÒÔʹÓÃGitLabÖÎÀí´úÂë¿ÍÕ»¡¢°²ÅÅCI/CD¹¹½¨Á÷³ÌÒÔ¼°ÎÊÌâ¸ú×ÙЧÀÍ¡£
×ܽá
´ËÎļòÆÓÏÈÈÝÁËÔÚWindowsƽ̨ÉÏ×°ÖÃGitLabµÄ°ì·¨£¬ÈôÊÇÄúÒѾ¾ß±¸ÁËÔ¤ÏÈÒªÇóµÄ²Ù×÷ϵͳ¡¢Ó²¼þºÍÍøÂçÇéÐΣ¬Çëƾ֤ÒÔÉÏ°ì·¨¾ÙÐÐ×°Öá£GitLabÌṩÁËÐí¶à¸»ºñµÄ¹¦Ð§£¬ÎªÁËʹÄã¸üºÃµØÍê³ÉÄúµÄÏîÄ¿£¬Ï£ÍûÄú¾¡¿ÉÄܶàµØʹÓÃGitLab¡£
ÒÔÉϾÍÊÇWindowsÉÏÔõôװÖÃGitLab£¿°ì·¨·ÖÏíµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡