尊龙凯时人生就是博

¸¡Í¼ÉÏÔõôǿÖÆ×°ÖÃgitlab

¸¡Í¼ÊÇÒ»¿îº£ÄÚÊ¢ÐеÄЧÀÍÆ÷ÖÎÀíÃæ°å¹¤¾ß£¬¾ßÓмòÆÓÒ×Óᢹ¦Ð§Ç¿Ê¢µÈÌصã¡£gitlabÊÇÒ»¿îÖ¼ÔÚ×ÊÖú¿ª·¢ÕßÖÎÀí´úÂë¡¢¹¹½¨¡¢²âÊԺͰ²ÅŵĿªÔ´ÏîÄ¿ÖÎÀí¹¤¾ß¡£ËüÄܹ»ÈÃÍŶÓЭ×÷¸ü¸ßЧ£¬Í¬Ê±ÌṩÖÊÁ¿°ü¹ÜºÍÐÔÄÜÓÅ»¯µÄ½â¾ö¼Æ»®¡£

¿ÉÊÇ£¬Ðí¶à¸¡Í¼Óû§¿ÉÄÜ»áÓöµ½×°ÖÃGitLabʱÓöµ½µÄÎÊÌ⣬ÀýÈçÒÀÀµ¿â²»¼æÈÝ¡¢×°ÖÃÖÐÖ¹µÈµÈ¡£Õâʱ¾ÍÐèÒª½ÓÄÉһЩǿÖÆ×°ÖõÄÒªÁ죬²Å»ªÈÃGitLabÕý³£ÔËÐС£

ÏÂÃ棬ÎÒÃǽ«ÏÈÈÝÔõÑùÔÚ¸¡Í¼Ãæ°åÉÏÇ¿ÖÆ×°ÖÃGitLabµÄÒªÁì¡£

Ò»¡¢¼ì²é¸¡Í¼ÇéÐÎ

ÔÚ×îÏÈ×°ÖÃGitLab֮ǰ£¬ÐèÒª¼ì²éÄãµÄ¸¡Í¼Ãæ°åÊÇ·ñ¾ß±¸×°ÖÃÌõ¼þ£¬°üÀ¨£º

ϵͳÇéÐΣºCentOS 7»ò¸ü¸ß°æ±¾

Èí¼þÇéÐΣºApache»òNginx£¬MySQL»òMariaDB

Çл»ÖÁ»ù±¾ÉèÖÃÒ³Ã棬¼ì²é²Ù×÷ϵͳ°æ±¾ºÍ»ù±¾Èí¼þÇéÐÎÊÇ·ñÖª×ãÒªÇó¡£

¶þ¡¢×°ÖÃÒÀÀµ¿â

×°ÖÃGitLabÐèҪװÖÃһЩÒÀÀµ¿â£¬Èçlibicu-devel¡¢curl-devel¡¢openssl-develµÈ£¬ÏêϸÁбíÈçÏ£º

yum install -y curl policycoreutils openssh-server openssh-clients perl

yum install -y postfix

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

sudo yum install -y gitlab-ce

Èý¡¢½â¾öÒÀÀµ¿â²»¼æÈÝÎÊÌâ

ÓÐʱ£¬ÔÚ¸¡Í¼Ãæ°åÉÏ×°ÖÃGitLabʱ£¬¿ÉÄ᷺ܻÆðÒÀÀµ¿â²»¼æÈݵÄÎÊÌ⣬Èçlibicu56Óëlibicu57²»¼æÈÝ¡£Õâʱ£¬ÐèÒª½ÓÄÉÈçϽâ¾öÒªÁ죺

ÏÂÔØlibicu56.rpm

wget https://archive.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/l/libicu-56.1-8.fc25.x86_64.rpm

×°ÖÃlibicu56.rpm

rpm -ivh libicu-56.1-8.fc25.x86_64.rpm

ËÄ¡¢ÐÞ¸ÄĬÈ϶˿ںÅ

GitLabĬÈ϶˿ںÅÊÇ80£¬ÐèÒªÐÞ¸ÄΪÆäËû¶Ë¿ÚºÅ£¬²»È»¸¡Í¼Ãæ°åºÍGitLab»á±¬·¢¶Ë¿Ú³åÍ»¡ £¿ÉÒÔ½ÓÄÉÈçÏ°취ÐÞ¸ÄĬÈ϶˿ںţº

ÐÞ¸ÄGitLabÉèÖÃÎļþ

vi /etc/gitlab/gitlab.rb

ÔÚÉèÖÃÎļþÖÐÌí¼ÓÒÔÏ´úÂ룺

external_url ‘http://gitlab.example.com:8888’

gitlab_rails[‘gitlab_shell_ssh_port’] = 2224

ÖØÆôGitLab

gitlab-ctl reconfigure

ËÄ¡¢Æô¶¯GitLab

ÔÚÍê³ÉÉÏÊö°ì·¨ºó£¬¿ÉÒÔÆô¶¯GitLab²¢»á¼ûËü¡£

Æô¶¯GitLab

gitlab-ctl start

»á¼ûGitLab

ÔÚä¯ÀÀÆ÷ÖÐÊäÈëhttp://ЧÀÍÆ÷IP:¶Ë¿ÚºÅ£¬¼´¿É»á¼ûGitLab¡£

×ܽá

ÒÔÉϾÍÊÇÔÚ¸¡Í¼Ãæ°åÉÏÇ¿ÖÆ×°ÖÃGitLabµÄÒªÁ죬ËäÈ»×°ÖÃÀú³Ì»áÓöµ½Ò»Ð©ÎÊÌ⣬µ«Í¨¹ý¶ÔÎÊÌâµÄ×ÐϸÆÊÎöÏ¢Õù¾ö£¬×îÖÕ¶¼¿ÉÒÔÀÖ³É×°Öá£Í¬Ê±£¬Ò²½¨Òé¸÷ÈËÔÚʹÓÃGitLabʱ£¬Ïàʶ¸ü¶àµÄGitLabÉèÖá¢ÓÅ»¯ºÍÖÎÀí¼¼ÇÉ£¬ÎªÍŶÓЭ×÷¿ª·¢ÌṩԽ·¢¸ßЧµÄ½â¾ö¼Æ»®¡£

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

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

Ïà¹ØÐÂÎÅ

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

18523999891

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

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

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