windows7ÔõôװÖÃgitlab
×÷Ϊһ¸ö¿ªÔ´µÄ°æ±¾ÖÎÀí¹¤¾ß£¬gitlabÔÚÈí¼þ¿ª·¢ÖеÄÓ¦ÓÃÔ½À´Ô½Æձ顣¹ØÓÚwindows7ϵͳµÄÓû§×°ÖÃgitlabÀ´Ëµ£¬ÓÐʱ¿ÉÄÜ»áÓöµ½Ò»Ð©ÎÊÌâ¡£ÏÂÃæÎÒÃǽ«ÏêϸÏÈÈÝÔÚwindows7ϵͳÉÏ×°ÖÃgitlabµÄÁ÷³Ì¡£
Ò»¡¢×°ÖÃRuby
1.»á¼ûRubyÏÂÔØÒ³Ã棺https://rubyinstaller.org/downloads/£¬Ñ¡ÔñRubyInstaller-2.5.5-1.exeÏÂÔØ¡£
2.ÔËÐÐÏÂÔصÄ×°Öðü£¬²¢Ò»ÆðÑ¡ÔñĬÈÏÑ¡ÏÍê³ÉRubyµÄ×°Öá£
3.ÔÚÏÂÁîÌáÐÑ·ûÖÐÊäÈëÈçÏÂÏÂÁ¼ì²éRubyÊÇ·ñ×°ÖÃÀֳɣº
ruby -v
µÇ¼ºó¸´ÖÆ
Èô·ºÆð°æ±¾ÐÅÏ¢£¬ÔòRuby×°ÖÃÀֳɡ£
¶þ¡¢×°ÖÃGitLab
1.ÏÂÔØGitLab×°Öðü£º
https://packages.gitlab.com/gitlab/gitlab-ee/packages/windows/gitlab-ee_11.8.0-ee.1windows.2_amd64.exe/download¡£
2.ÔËÐÐexe×°Öðü£¬×°Öõ½Ä¬ÈÏ·¾¶¼´¿É¡£
3.ÔÚÏÂÁîÌáÐÑ·ûÖÐÊäÈëÈçÏÂÏÂÁîÆô¶¯GitLab£º
gitlab-ctl start
µÇ¼ºó¸´ÖÆ
Èô·ºÆðÈçÏÂÐÅÏ¢£¬ËµÃ÷GitLabÆô¶¯Àֳɣº
ok: run: alertmanager: (pid 2653) 0s ok: run: gitaly: (pid 2654) 8s ok: run: gitlab-monitor: (pid 2655) 0s ok: run: gitlab-workhorse: (pid 2656) 0s ok: run: logrotate: (pid 2657) 0s ok: run: nginx: (pid 2658) 0s ok: run: node-exporter: (pid 2659) 0s ok: run: postgres-exporter: (pid 2661) 0s ok: run: postgresql: (pid 2664) 4s ok: run: prometheus: (pid 2665) 1s
µÇ¼ºó¸´ÖÆ
4.ĬÈÏÇéÐÎÏ£¬GitLab×°Ö÷¾¶ÎªC:\Program Files\GitLab£¬ÔÚä¯ÀÀÆ÷ÖÐÊäÈëhttp://localhost£¬¼´¿É½øÈëGitLabµÄÊ×Ò³¡£
5.Ê״εǼʱ£¬ÐèÒªÉèÖÃrootÓû§µÄÃÜÂ룬²¢ÌîдһЩ»ù´¡ÐÅÏ¢£¨ÀýÈçemailµÈ£©¡£
Èý¡¢½â¾ö³£¼ûÎÊÌâ
1.»á¼ûGitLabÒ³Ãæʱ·ºÆð502¹ýʧ£ºÕâ¿ÉÄÜÊÇÓÉÓÚGitLabµÄЧÀÍûÓÐ׼ȷÆô¶¯¡£¿ÉÒÔʵÑéÔÚÏÂÁîÐÐÊäÈ룺
gitlab-ctl restart
µÇ¼ºó¸´ÖÆ
ÖØÆôGitLabЧÀͼ´¿É½â¾öÎÊÌâ¡£
2.¸ü¸ÄGitLabµÄ¶Ë¿Ú£ºÄ¬ÈÏÇéÐÎÏ£¬GitLabʹÓÃ80¶Ë¿Ú¡£ÈôÊÇÐèÒª¸ü¸Ä¶Ë¿Ú£¬ÐèÒªÐÞ¸ÄGitLabÉèÖÃÎļþ£¬Â·¾¶ÎªC:\Program Files\GitLab\etc\gitlab.rb¡£ÕÒµ½external_url ¡®http://localhost¡¯ÕâÒ»ÐУ¬½«¶Ë¿ÚºÅÐÞ¸ÄΪÆÚÍûµÄ¶Ë¿Ú¼´¿É¡£
ÒÔÉϾÍÊÇÔÚWindows7ϵͳÉÏ×°ÖÃGitLabµÄ°ì·¨£¬Ï£Íû¿ÉÒÔΪÐèҪװÖÃGitLabµÄ¶ÁÕßÌṩ×ÊÖú¡£
ÒÔÉϾÍÊÇwindows7ÔõôװÖÃgitlabµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡