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µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡