×ðÁú¿­Ê±¹ÙÍøµÇ¼

ÔõÑùÔÚMacϵͳÉÏ°²ÅÅGitLab £¿

Ëæ×ÅÈí¼þ¿ª·¢µÄÒ»Ö±Éú³¤ºÍÊÖÒÕµÄÒ»Ö±¸üУ¬´úÂëÍйܳÉΪÁËÈí¼þ¿ª·¢Àú³ÌÖв»¿É»òȱµÄÒ»²¿·Ö¡£gitlabÊÇÒ»¸ö¿ªÔ´ÇÒ¹¦Ð§Ç¿Ê¢µÄgit´úÂëÍйÜƽ̨£¬Ö§³ÖÍŶÓЭ×÷¡¢Ò»Á¬¼¯³ÉºÍ¿ìËÙ°²Åŵȹ¦Ð§¡£ÈôÊÇÄúÏëÔÚmacϵͳÉϴ×Ô¼ºµÄgitlabЧÀÍÆ÷£¬±¾ÎĽ«ÎªÄúÌṩÏêϸµÄ°²ÅÅ°ì·¨¡£

°ì·¨Ò»£º×°ÖÃHomebrew

ÈôÊÇÄúµÄMacϵͳÉÏÒѾ­×°ÖÃÁËHomebrew£¬ÇëÌø¹ý´Ë°ì·¨¡£²»È»£¬Çë·­¿ªTerminal£¬ÊäÈëÒÔÏÂÏÂÁîÀ´×°ÖÃHomebrew£º

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

µÇ¼ºó¸´ÖÆ

ÔÚ×°ÖÃÀú³ÌÖУ¬ÏµÍ³¿ÉÄÜ»áÒªÇóÄúÊäÈëÅÌËãÉñÃØÂë¡£

×°ÖÃÍê³Éºó£¬Äú¿ÉÒÔÊäÈëÒÔÏÂÏÂÁîÀ´ÑéÖ¤HomebrewÊÇ·ñÀÖ³É×°Öãº

brew doctor

µÇ¼ºó¸´ÖÆ

ÈôÊÇÄú¿´µ½¡°Your system is ready to brew.¡±µÄÌáÐÑÐÅÏ¢£¬ËµÃ÷HomebrewÒѾ­×°ÖÃÀֳɡ£

°ì·¨¶þ£º×°ÖÃGitLab

ÔÚÖÕ¶ËÖÐÊäÈëÒÔÏÂÏÂÁîÀ´×°ÖÃGitLab£º

brew install gitlab-ce

µÇ¼ºó¸´ÖÆ

×°ÖÃÍê³Éºó£¬Äú¿ÉÒÔÊäÈëÒÔÏÂÏÂÁîÀ´Éó²éGitLabµÄ×°Ö÷¾¶£º

brew list gitlab-ce

µÇ¼ºó¸´ÖÆ

ÔÚMacϵͳÖУ¬GitLabµÄĬÈÏ×°Ö÷¾¶Îª¡°/usr/local/opt/gitlab-ce¡±¡£

°ì·¨Èý£ºÉèÖÃGitLab

ΪÁËʹGitLabÄܹ»Õý³£ÊÂÇ飬ÄúÐèÒª¾ÙÐÐһЩ»ù±¾ÉèÖá£Ê×ÏÈ£¬ÇëÔÚÖÕ¶ËÖÐÊäÈëÒÔÏÂÏÂÁîÀ´Æô¶¯GitLab£º

sudo gitlab-ctl reconfigure

µÇ¼ºó¸´ÖÆ

ÔÚÔËÐдËÏÂÁîÖ®ºó£¬GitLab½«×Ô¶¯¾ÙÐÐһЩÉèÖ㬰üÀ¨ÌìÉúSSLÖ¤Êé¡¢³õʼ»¯Êý¾Ý¿âµÈ²Ù×÷¡£ÇëÄÍÐÄÆÚ´ýÕâЩ²Ù×÷Íê³É¡£

ÔÚÉèÖÃÀú³ÌÖУ¬Äú»¹ÐèÒª¾ÙÐÐһЩÊÖ¶¯ÉèÖá£ÀýÈ磬ÄúÐèÒªÉèÖÃGitLabµÄÖÎÀíÔ±ÕË»§¡¢ÉèÖÃSMTPЧÀÍÆ÷ÒÔ¼°ÉèÖÃÍⲿURLµÈ¡£ÕâЩÉèÖÃÏîµÄÏêϸ˵Ã÷¿ÉÒÔÔÚGitLab¹Ù·½ÎĵµÖÐÕÒµ½¡£

°ì·¨ËÄ£º»á¼ûGitLab

ÔÚÍê³ÉÒÔÉÏÉèÖúó£¬ÄúÓ¦¸Ã¿ÉÒÔͨ¹ýä¯ÀÀÆ÷À´»á¼ûÄúµÄGitLabЧÀÍÆ÷ÁË¡£Ä¬ÈÏÇéÐÎÏ£¬GitLabµÄWeb½çÃæÓ¦¸Ã¿ÉÒÔÔÚÒÔϵصãÖоÙÐлá¼û£º

http://localhost:8080

µÇ¼ºó¸´ÖÆ

ÈôÊÇÄúÏë´ÓÆäËûÅÌËã»úÉÏ»á¼ûGitLabЧÀÍÆ÷£¬Äú¿ÉÄÜÐèÒªÔÚ·ÓÉÆ÷ÖоÙÐж˿ÚÓ³Éä¡£

ÖÁ´Ë£¬ÄúÒѾ­ÀֳɴÁË×Ô¼ºµÄGitLabЧÀÍÆ÷£¬²¢ÇÒ¿ÉÒÔͨ¹ýWeb½çÃæ¾ÙÐдúÂëÍйܡ¢ÍŶÓЭ×÷µÈ²Ù×÷¡£Ï£ÍûÕâƪÎÄÕ¶ÔÄúÓÐËù×ÊÖú£¡

ÒÔÉϾÍÊÇÔõÑùÔÚMacϵͳÉÏ°²ÅÅGitLab £¿µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ