尊龙凯时人生就是博

ÁÄÁÄÔõÑù×°ÖÃ GitLab 8

ÔõÑù×°ÖÃ gitlab 8

GitLab 8 ÊÇÒ»¸öÃâ·Ñ¡¢¿ªÔ´µÄ Git ¿ÍÕ»ÖÎÀíϵͳ¡£ËüÊÇÒ»¸ö×ÔÍÐ¹ÜµÄ git ÏîÄ¿£¬ÌṩÁËÐí¶à¹¦Ð§£¬ºÃ±È´úÂëÉó²é¡¢wiki¡¢CI µÈ¡£Òª×Ô¼º´î½¨ GitLab£¬±¾ÎĽ«ÏòÄãÏÈÈÝÔõÑù×°Öà gitlab 8¡£

×¢ÖØ£º±¾ÎļÙÉèÄãÒѾ­×°Öò¢ÉèÖúÃÁË Docker¡£ÈôÊÇÄ㻹ûÓÐ×°Öà Docker£¬ÇëÏÈƾ֤ Docker µÄ×°ÖÃÖ¸ÄϾÙÐвÙ×÷¡£

°ì·¨ 1£º½¨Éè GitLab ÊÂÇéĿ¼

Ê×ÏÈ£¬½¨Éè´æ´¢ GitLab Êý¾ÝºÍÉèÖõÄĿ¼¡£ÎÒÃÇʹÓà /srv/gitlab/examplecom/ Ŀ¼£º

sudo mkdir -p /srv/gitlab/examplecom/config

sudo mkdir -p /srv/gitlab/examplecom/logs

sudo mkdir -p /srv/gitlab/examplecom/data

°ì·¨ 2£º½¨Éè GitLab ¾µÏñ

ΪÁËʹÓà GitLab£¬ÎÒÃÇÐèÒªÒ»¸ö Docker ¾µÏñ¡£Docker ¹Ù·½ÌṩÁ˹ٷ½ GitLab ¾µÏñ£¬»ùÓÚ Ubuntu 14.04ÖÆ×÷¡£

sudo docker pull gitlab/gitlab-ce:latest

°ì·¨ 3£ºÔËÐÐ GitLab ÈÝÆ÷

ÏÖÔÚÎÒÃÇÒѾ­×¼±¸ºÃÁËÈÝÆ÷ÔËÐÐËùÐèµÄËùÓв¿¼þ¡£

sudo docker run –detach \

  –hostname gi.example.com \

  –publish 443:443 –publish 80:80 –publish 22:22 \

  –name gitlab \

  –restart always \

  –volume /srv/gitlab/examplecom/config:/etc/gitlab \

  –volume /srv/gitlab/examplecom/logs:/var/log/gitlab \

  –volume /srv/gitlab/examplecom/data:/var/opt/gitlab \

  gitlab/gitlab-ce:latest

°ì·¨ 4£ºÉèÖà GitLab

ÏÖÔÚÎÒÃÇ¿ÉÒÔͨ¹ýä¯ÀÀÆ÷»á¼û Docker Ö÷»úIP µØµãºÍÉèÖà GitLab¡£GitLab ³õʼ»¯²»ÐèÒªºÜ³¤Ê±¼ä¡£

http:// /

°ì·¨ 5£ºµÇ¼µ½ GitLab

ʹÓÃĬÈÏÖÎÀíÔ±Óû§ÃûºÍ³õʼÃÜÂëµÇ¼£º

Óû§Ãû£ºroot

ÃÜÂ룺5iveL!fe

ÏÖÔÚÄã¿ÉÒÔ¸ü¸ÄÃÜÂëÁË¡£ÊäÈëÄúµÄµç×ÓÓʼþµØµã£¬¼´¿É»Ö¸´»á¼ûÃÜÂë¡£

°ì·¨ 6£º½¨ÉèÄúµÄµÚÒ»¸öÏîÄ¿

ÏÖÔÚÄú¿ÉÒÔÔÚ GitLab ÉϽ¨ÉèÒ»¸öÐÂÏîÄ¿¡£²Ù×÷°ì·¨ÈçÏ£º

µã»÷ÓÒ²à²àÀ¸ÖÐ ¡° + ¡± ºÅ

µã»÷ ¡° New Project ¡±

ΪÏîÄ¿ÃüÃû

Ñ¡ÔñÏîÄ¿µÄ¿ØÖÆÀàÐÍ£¬Èç Git¡¢SVN»òMercurial µÈ

µã»÷¡°Create project¡± °´Å¥

ÏÖÔÚÄã¿ÉÒÔΪÄãµÄÏîÄ¿Ìí¼ÓÓû§£¬ÉèÖÃȨÏ޵ȵÈ¡£

Íê³ÉÒÔÉÏ°ì·¨ºó£¬ÄúÒѾ­ÀֳɵØ×°ÖÃÁË GitLab 8¡£ÏÖÔÚÄú¿ÉÒÔ×îÏÈʹÓÃËüÀ´ÖÎÀíÄúµÄ´úÂë¿â¡¢wiki¡¢CIµÈ¡£

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

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

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是博

13452372176

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

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

QR code
sitemap¡¢ÍøÕ¾µØͼ