dzÎöUbuntu²Ù×÷ϵͳÉÏÔõôװÖÃGitlab
gitlabÊÇÒ»¸öÖÎÀígit¿ÍÕ»µÄwebÓ¦ÓóÌÐò¡£ËüÌṩÁËÀàËÆÓÚgithubµÄ¹¦Ð§£¬°üÀ¨ÕË»§ÖÎÀí¡¢ÌÖÂÛ¡¢´úÂëÉó²éºÍ°æ±¾¿ØÖÆ¡£gitlabÊÇ¿ªÔ´Èí¼þ£¬ÒÔÊÇ¿ÉÒÔÔÚЧÀÍÆ÷ÉÏ×ÔÓɵØ×°Öá£
ÔÚ±¾ÎÄÖУ¬ÎÒÃǽ«ÑÝʾÔõÑùÔÚUbuntu²Ù×÷ϵͳÉÏ×°ÖÃGitlab¡£
°ì·¨Ò»£º¸üÐÂUbuntuÈí¼þ°ü
Ҫȷ±£ÏµÍ³µÄÈí¼þ°üÊÇ×îеģ¬Ê¹ÓÃÒÔÏÂÏÂÁî¸üÐÂÈí¼þ°ü:
sudo apt-get update sudo apt-get upgrade
µÇ¼ºó¸´ÖÆ
°ì·¨¶þ£º×°ÖÃÐëÒªµÄÒÀÀµÏî
GitlabÐèҪװÖÃÒÔÏÂÈí¼þ°ü:
curl
openssh-server
postfix
ca-certificates
ÔÚUbuntuÉÏ£¬¿ÉÒÔʹÓÃÒÔÏÂÏÂÁî×°ÖÃÕâЩÒÀÀµÏî:
sudo apt-get install curl openssh-server ca-certificates postfix
µÇ¼ºó¸´ÖÆ
PostfixÊÇÒ»¸öÓʼþ´«ÊäÊðÀí£¬GitlabʹÓÃËüÀ´·¢ËÍÓʼþ֪ͨ¡£
ÔÚÔËÐÐPostfix֮ǰ£¬ÐèÒªÉèÖÃÒ»¸öInternet Site£¨Internet Site£©µÄÑ¡ÏÕâÑùPostfix¾ÍÖªµÀÔõÑù½«Óʼþ·Óɵ½ÆäËüµç×ÓÓʼþЧÀÍÆ÷¡£
ÊäÈëÒÔÏÂÏÂÁȻºóƾ֤ÈçÏÂ˳ÐòÑ¡ÔñÊðÃûºÍϵͳÓʼþÃû³Æ£¨FQDN£©£º
sudo dpkg-reconfigure postfix
µÇ¼ºó¸´ÖÆ
°ì·¨Èý£ºÌí¼ÓGitlab´æ´¢¿â
×°ÖÃGitlabÐèÒªÌí¼ÓGitlab´æ´¢¿â¡£
ʹÓÃÒÔÏÂÏÂÁîÌí¼ÓGitlab´æ´¢¿â:
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
µÇ¼ºó¸´ÖÆ
°ì·¨ËÄ£º×°ÖÃGitlab
ʹÓÃÒÔÏÂÏÂÁî×°ÖÃGitlab:
sudo apt-get install gitlab-ce
µÇ¼ºó¸´ÖÆ
ÉÏÊöÏÂÁî×°ÖÃÉçÇø°æGitlab¡£ÈôÊÇҪװÖÃÆóÒµ°æGitlab£¬ÐèҪʹÓòî±ðµÄÏÂÁîºÍ´æ´¢¿â¡£
°ì·¨Î壺ÉèÖÃGitlab
×°ÖÃÍê³Éºó£¬ÐèÒªÉèÖÃGitlabÒÔʹÓÃϵͳ¡£·¿ªä¯ÀÀÆ÷£¬½øÈëЧÀÍÆ÷µÄIPµØµã»òÓòÃû£¬ÊäÈëÒÔÏÂÍøÖ·:
http:///
ÔÚµÚÒ»´Î»á¼ûGitlabʱ£¬»áÒªÇóÉèÖÃÖÎÀíÔ±ÕÊ»§¡£
ÉèÖÃÍê³Éºó£¬Äú½«±»´øµ½GitlabµÄÖ÷ÒDZí°å¡£
°ì·¨Áù£º»á¼ûGitlab
ÏÖÔÚ£¬¿ÉÒÔʹÓÃä¯ÀÀÆ÷»á¼ûGitlab¡£
½øÈëÒÔÏÂURL£º
http:///
ÊäÈë¸Õ¸ÕÉèÖõÄÖÎÀíÔ±ÕË»§¾ÙÐеǼ£¬²¢½¨ÉèÍŶӣ¬Ìí¼Ó³ÉÔ±ºÍ½¨ÉèÏîÄ¿£¡
½áÂÛ
ͨ¹ýÉÏÊö°ì·¨£¬Äú¿ÉÒÔÇáËɵØÔÚUbuntuÉÏ×°ÖÃGitlab£¬ÒÔÖÎÀíÄúµÄGit¿ÍÕ»¡£ÏÖÔÚ¿ÉÒÔÔÚ×Ô¼ºµÄЧÀÍÆ÷ÉÏ°²ÅÅGitlab£¬ÎªÄúµÄÍŶÓÌṩ¸üºÃµÄ´úÂëÖÎÀíÌåÑé¡£
ÒÔÉϾÍÊÇdzÎöUbuntu²Ù×÷ϵͳÉÏÔõôװÖÃGitlabµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡