gitlabÖÐÎÄÏÔʾ²»È«Ôõô°ì
½üÄêÀ´£¬Ô½À´Ô½¶àµÄ³ÌÐòԱʹÓÃgitlab×÷Ϊ°æ±¾¿ØÖƹ¤¾ß£¬¿ÉÊÇÔÚʹÓÃÖÐÓöµ½ÖîÈçÖÐÎÄÂÒÂë¡¢ÖÐÎÄÏÔʾ²»È«µÈÎÊÌ⣬ӰÏìÁËÊÂÇéЧÂÊ¡£±¾ÎĽ«ÏÈÈÝÔõÑù½â¾ögitlabÖÐÎÄÏÔʾ²»È«µÄÎÊÌâ¡£
Ò»¡¢GitlabÖÐÎÄÏÔʾ²»È«µÄ¿ÉÄÜÔµ¹ÊÔÓÉ
1.ϵͳ×Ö·û¼¯ÎÊÌ⣺Gitlabϵͳ×Ö·û¼¯²»ÇкÏÖÐÎÄ×Ö·û¼¯£¬µ¼ÖÂÖÐÎÄÏÔʾ²»È«»òÂÒÂë¡£
2.ĬÈÏ×ÖÌåÎÊÌ⣺GitlabĬÈÏ×ÖÌåȱʧÖÐÎÄ×Ö·û£¬µ¼ÖÂÖÐÎÄÏÔʾ²»È«¡£
3.ä¯ÀÀÆ÷»º´æÎÊÌ⣺ä¯ÀÀÆ÷»º´æµ¼ÖÂGitlabÖÐÎÄÏÔʾ²»È«»òÂÒÂë¡£
¶þ¡¢½â¾öGitlabÖÐÎÄÏÔʾ²»È«µÄÒªÁì
1.ÐÞ¸Äϵͳ×Ö·û¼¯
ÒªÐÞ¸Äϵͳ×Ö·û¼¯£¬ÐèÒªÔÚºǫ́±à¼ÉèÖÃÎļþ¡£ÒÔCentosϵͳΪÀý£¬ÔÚÖÕ¶ËÖмüÈëÒÔÏÂÏÂÁî½øÈëÉèÖÃÎļþ£º
sudo vi /etc/sysconfig/i18n
µÇ¼ºó¸´ÖÆ
ÐÞ¸ÄÎļþÖеÄLANG±äÁ¿£¬½«ÆäÉèÖÃΪzh_CN.UTF-8£¬È»ºóÉúÑIJ¢Í˳öÉèÖÃÎļþ¡£
LANG="zh_CN.UTF-8"
µÇ¼ºó¸´ÖÆ
×îºóÐèÒªÖØÐÂÆô¶¯Ð§ÀÍÆ÷£¬²Å»ªÊ¹ÐÞ¸ÄÉúЧ¡£
2.¸ü¸ÄĬÈÏ×ÖÌå
ÐÞ¸ÄGitlabÖÐĬÈÏ×ÖÌ壬ÐèÒªÔÚÉèÖÃÎļþÖÐÌí¼ÓÒÔÏÂÄÚÈÝ¡£ÒÔUbuntuϵͳΪÀý£¬ÔÚÖÕ¶ËÖмüÈëÒÔÏÂÏÂÁî½øÈëÉèÖÃÎļþ£º
sudo vi /usr/share/gitlab/config/gitlab.rb
µÇ¼ºó¸´ÖÆ
ÕÒµ½ÒÔÏÂÐУº
# gitlab_rails['gitlab_default_theme'] = 2
µÇ¼ºó¸´ÖÆ
ÔÚ´ËÐÐÏÂÌí¼ÓÒÔÏÂÄÚÈÝ£º
gitlab_rails['font_family'] = 'sans-serif, "΢ÈíÑźÚ", Arial' gitlab_rails['unicode_font_family'] = 'sans-serif, "΢ÈíÑźÚ", Arial'
µÇ¼ºó¸´ÖÆ
È»ºóÉúÑÄÎļþ²¢ÖØÆôGitlabЧÀÍÆ÷¡£
3.ɨ³ýä¯ÀÀÆ÷»º´æ
GitlabÖÐÎÄÏÔʾ²»È«¿ÉÄÜÊÇÓÉÓÚä¯ÀÀÆ÷»º´æµ¼Öµġ£½â¾öÒªÁìÊÇɨ³ýä¯ÀÀÆ÷»º´æ¡£ÏêϸҪÁìÈçÏ£º
ÔÚChromeä¯ÀÀÆ÷ÖУ¬°´ÏÂCTRL+SHIFT+DELETE¿ì½Ý¼ü£¬·ºÆðɨ³ýä¯ÀÀÊý¾Ý¶Ô»°¿ò£¬¹´Ñ¡¡°»º´æͼƬºÍÎļþ¡±Ñ¡ÏȻºóµã»÷¡°É¨³ýÊý¾Ý¡±°´Å¥¼´¿Éɨ³ý»º´æ¡£
ÔÚFirefoxä¯ÀÀÆ÷ÖУ¬°´ÏÂCTRL+SHIFT+DELETE¿ì½Ý¼ü£¬·ºÆðɨ³ý×î½üµÄÀúÊ·¼Í¼¶Ô»°¿ò£¬Ñ¡Ôñ¡°»º´æ¡±Ñ¡Ï£¬È»ºóµã»÷¡°ÏÖÔÚɨ³ý¡±°´Å¥¼´¿Éɨ³ý»º´æ¡£
ÔÚSafariä¯ÀÀÆ÷ÖУ¬Ç°Íù¡°ÀúÊ·¼Í¼¡±²Ëµ¥£¬Ñ¡Ôñ¡°É¨³ýÀúÊ·¼Í¼¡±£¬Ñ¡ÕªÒªÉ¨³ýµÄʱ¼ä¹æÄ£ºÍɨ³ýÏîÄ¿£¬È»ºóµã»÷¡°É¨³ýÀúÊ·¼Í¼¡±°´Å¥¼´¿Éɨ³ý»º´æ¡£
×ܽ᣺
ÖÐÎÄÏÔʾ²»È«ÊÇGitlab¿ª·¢ÕßÔÚÉè¼ÆÈí¼þʱÓöµ½µÄÒ»¸öÎÊÌ⣬¿ÉÊÇͨ¹ýÒÔÉÏÒªÁì¿ÉÒÔÇáËɽâ¾ö¡£Í¬Ê±£¬ÎÒÃÇÒ²Ó¦¸Ã×¢ÖØά»¤ºÃGitlabϵͳ£¬×èÖ¹·ºÆðÆäËûÎÊÌâ¡£
ÒÔÉϾÍÊÇgitlabÖÐÎÄÏÔʾ²»È«Ôõô°ìµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡