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

redhatϵͳÉÏÔõôװÖÃgitlab

gitlabÊÇÒ»¸ö¿ªÔ´µÄgit´úÂëÍйÜƽ̨£¬¾ßÓдúÂëÖÎÀí¡¢ÎÊÌâ¸ú×Ù¡¢Ò»Á¬¼¯³ÉµÈ¹¦Ð§¡£¹ØÓÚ¿ª·¢ÍŶÓÀ´Ëµ£¬Ê¹ÓÃgitlab¿ÉÒÔÌá¸ß´úÂëµÄЭ×÷ЧÂÊ¡£ÔÚ±¾ÆªÎÄÕÂÖУ¬ÎÒÃǽ«ÏÈÈÝÔõÑùÔÚredhatϵͳÉÏ×°ÖÃgitlab¡£

Ò»¡¢×¼±¸ÊÂÇé

×°ÖÃGitlab֮ǰ£¬ÐèÒªÏÈ×°Öò¢ÉèÖúÃһЩ±ØÐèµÄÈí¼þºÍÇéÐΣ¬°üÀ¨£º

1.×°ÖÃÐëÒªµÄÒÀÀµ°ü

sudo yum -y install curl policycoreutils openssh-server openssh-clients postfix

2.Æô¶¯²¢ÉèÖÃPostfixЧÀÍ

sudo systemctl enable postfix

sudo systemctl start postfix

3.×°ÖÃÉèÖÃGit

sudo yum -y install git

4.×°ÖÃÉèÖÃNTP

sudo yum -y install ntp

sudo systemctl enable ntpd

sudo systemctl start ntpd

¶þ¡¢×°ÖÃGitlab

½ÓÏÂÀ´£¬ÎÒÃǽ«ÏÈÈÝGitlabµÄ×°ÖÃÀú³Ì¡£

1.Ìí¼ÓGitlabµÄÔ´

sudo curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash

2.×°ÖÃGitlab

sudo yum install gitlab-ce

3.ÉèÖò¢Æô¶¯Gitlab

sudo gitlab-ctl reconfigure

sudo gitlab-ctl start

4.»á¼ûGitlab

ÔÚä¯ÀÀÆ÷ÖÐÊäÈëЧÀÍÆ÷IPµØµãºÍ¶Ë¿ÚºÅ£¨Ä¬ÈÏ80¶Ë¿Ú£©£¬ÀýÈ磺

http://192.168.1.100/

¼´¿É»á¼ûGitlab¡£

Èý¡¢ÉèÖÃGitlab

1.ÉèÖÃÖÎÀíÔ±Õ˺Å

Ê״εǼGitlabʱ£¬ÏµÍ³»áÒªÇóÉèÖÃÖÎÀíÔ±Õ˺źÍÃÜÂ롣ƾ֤ÌáÐÑÉèÖü´¿É¡£

2.½¨Éè×éºÍÏîÄ¿

µã»÷×ó²à²Ëµ¥À¸Öеġ°Group¡±£¬È»ºóµã»÷¡°New group¡±°´Å¥£¬½¨ÉèÒ»¸öеÄ×é¡£½Ó×ÅÔÚ×éÄÚ½¨ÉèÒ»¸öÐÂÏîÄ¿£¬²¢ÉÏ´«´úÂë¡£

3.Ìí¼Ó³ÉÔ±

µã»÷×ó²à²Ëµ¥À¸Öеġ°Members¡±£¬È»ºóµã»÷¡°Add member¡±°´Å¥£¬ÊäÈëÐèÒªÌí¼ÓµÄ³ÉÔ±ÐÕÃûºÍÓÊÏäµØµã£¬È»ºóµã»÷¡°Add to project¡±°´Å¥¼´¿É¡£

4.ÉèÖÃÏîÄ¿»á¼ûȨÏÞ

µã»÷×ó²à²Ëµ¥À¸Öеġ°Settings¡±£¬È»ºóµã»÷¡°Members¡±Ñ¡Ï£¬ÔÚ³ÉÔ±ÁбíÖÐÉèÖÃÏà¹ØµÄ»á¼ûȨÏÞ¡£

ËÄ¡¢×ܽá

±¾ÆªÎÄÕÂÏÈÈÝÁËÔÚRedhatϵͳÉÏ×°ÖÃGitlabµÄÀú³Ì¡£Ê¹ÓÃGitlab¿ÉÒÔÀû±ãµØ¾ÙÐдúÂëÖÎÀíºÍЭ×÷£¬Ìá¸ßÍŶÓЭ×÷ЧÂÊ¡£ÈôÊÇÄúÓÐÈκÎÎÊÌâ»ò½¨Ò飬ÇëËæʱÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼¡£

ÒÔÉϾÍÊÇredhatϵͳÉÏÔõôװÖÃgitlabµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

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

Ïà¹ØÐÂÎÅ

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

13452372176

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

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

QR code
ÍøÕ¾µØͼ