×ðÁú¿­Ê±

Ïê½âGitlabÐ޸ķ¾¶µÄÒªÁì

gitlabÊÇÒ»¿îÊ¢ÐеĴúÂëÍйÜƽ̨£¬Ðí¶à³ÌÐòԱʹÓÃËüÀ´Ð­×÷¿ª·¢´úÂë¡£²»¹ý£¬ÔÚʹÓÃgitlabµÄÀú³ÌÖУ¬ÓÐʱ¼äÎÒÃÇÐèÒª¶ÔÏîÄ¿µÄ·¾¶¾ÙÐÐÐ޸ġ£±¾ÎĽ«ÏÈÈÝgitlabÐ޸ķ¾¶µÄÒªÁì¡£

¹Ø±ÕGitlabЧÀÍ

ÔÚ¾ÙÐз¾¶ÐÞ¸Ä֮ǰ£¬ÇëÏȹرÕGitlabЧÀÍ¡£ÎÒÃÇ¿ÉÒÔʹÓÃÒÔÏÂÏÂÁî¹Ø±ÕGitlabЧÀÍ£º

sudo gitlab-ctl stop

µÇ¼ºó¸´ÖÆ

±¸·ÝÊý¾Ý

ÔÚÐ޸ķ¾¶Ö®Ç°£¬ÇëÎñ±Ø±¸·ÝÊý¾Ý¡£ÕâÊÇ°ü¹ÜÊý¾ÝÇå¾²µÄÖ÷Òª°ì·¨¡£¿ÉÒÔʹÓÃÒÔÏÂÏÂÁ·ÝÊý¾Ý£º

sudo gitlab-rake gitlab:backup:create

µÇ¼ºó¸´ÖÆ

±¸·ÝÍê³Éºó£¬¿ÉÒÔÔÚ±¸·ÝÎļþ´æ·ÅµÄĿ¼£¨Ä¬ÈÏÊÇ/var/opt/gitlab/backups£©ÖÐÉó²é±¸·ÝÎļþ¡£

Ð޸ķ¾¶

ÐÞ¸ÄGitlabÏîÄ¿µÄ·¾¶ÐèÒªÐÞ¸Ä3¸öÉèÖÃÎļþ£¨ Ϊз¾¶£©£º

gitlab.yml£ºÐÞ¸Ärepositories.storagedirΪ /repositories

unicorn.rb£ºÐÞ¸Äunicorn:envΪ

rack_attack.rb£ºÐÞ¸ÄGitlab::Middleware::Throttle::GITLAB_API_PATTERNÖÐµÄ ‘/api/v3/internal/allowed’ Ϊ ‘ /api/v3/internal/allowed’

ÐÞ¸ÄÒÔÉÏ3¸öÎļþºó£¬ÇëÉúÑIJ¢Í˳ö¡£

Ð޸ĿÍÕ»´æ·Å·¾¶

ʹÓÃÒÔÏÂÏÂÁî¸üÐÂGitlabµÄ¿ÍÕ»´æ·Å·¾¶£º

sudo gitlab-rake gitlab:storage:update

µÇ¼ºó¸´ÖÆ

¸üÐÂÍê³Éºó£¬ÇëÆô¶¯GitlabЧÀÍ£º

sudo gitlab-ctl start

µÇ¼ºó¸´ÖÆ

²âÊÔ·¾¶ÐÞ¸Ä

ÔÚÆô¶¯GitlabЧÀͺ󣬷­¿ªGitlabÍøÕ¾£¬²¢ÔÚÆäÖÐÒ»¸öÏîÄ¿ÖоÙÐвâÊÔ¡£ÈôÊÇÄܹ»Õý³£»á¼û£¬Ôò˵Ã÷·¾¶ÐÞ¸ÄÀֳɡ£

×ܽá

ͨ¹ýÒÔÉÏ°ì·¨£¬ÎÒÃÇ¿ÉÒÔºÜÈÝÒ×µØÐÞ¸ÄGitlabÏîÄ¿µÄ·¾¶¡£ÔÚ¾ÙÐÐÐÞ¸Ä֮ǰ£¬Îñ±Ø±¸·ÝÊý¾Ý£¬ÒÔÃâÊý¾Ýɥʧ¡£

ÒÔÉϾÍÊÇÏê½âGitlabÐ޸ķ¾¶µÄÒªÁìµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

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

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±

18523999891

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

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

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