Ïê½âÔÚGitLabÖоÙÐÐÖÐÎÄÉèÖÃ
gitlabÊÇÒ»¸ö¿ªÔ´µÄ°æ±¾ÖÎÀíÈí¼þ£¬Ö÷ÒªÓÃÓÚ´úÂëÍйܺÍÐ×÷¿ª·¢£¬¿ÉÖ§³Ö˽Óа²ÅÅ¡£ÔÚº£ÄÚ£¬gitlabµÄʹÓÃÔ½À´Ô½Æձ飬¿ÉÊÇÓÉÓÚĬÈÏÓïÑÔÊÇÓ¢ÓÒò´ËÐí¶àÓû§ÔÚ¸Õ×îÏÈʹÓÃʱ»áÓöµ½Ò»Ð©²Ù×÷ÉϵÄÄÑÌ⣬±¾ÎľÍÊÇΪ¸÷ÈËÏÈÈÝÔÚgitlabÖоÙÐÐÖÐÎÄÉèÖõÄÏêϸ½Ì³Ì¡£
Ò»¡¢ÐÞ¸ÄGitLabµÄĬÈÏÓïÑÔ
µÇ¼GitLabºó£¬ÔÚÒ³ÃæÓÒÉÏ·½µÄÓû§²Ëµ¥ÖУ¬Ñ¡Ôñ¡°Settings¡±¡£
½øÈëSettingsÒ³Ãæºó£¬µã»÷×ó²àµ¼º½À¸Öеġ°Preferences¡±Ñ¡Ïî¡£
ÔÚPreferencesÒ³ÃæÖУ¬ÕÒµ½¡°Localization¡±ÇøÓò£¬½«¡°Language¡±Ñ¡ÏîÐÞ¸ÄΪ¡°¼òÌåÖÐÎÄ¡±¡£
µã»÷Ò³ÃæÏ·½µÄ¡°Save changes¡±°´Å¥£¬ÉúÑÄÓïÑÔÉèÖá£
¶þ¡¢ÐÞ¸ÄGitLabµÄÈÕÆÚÃûÌÃ
ĬÈÏÇéÐÎÏ£¬GitLabµÄÈÕÆÚÃûÌÃΪ¡°YYYY-MM-DD¡±£¬ÈôÊÇÐèÒªÐÞ¸ÄΪÖÐÎÄÃûÌ㬿ÉÒÔƾ֤ÒÔÏ°취¾ÙÐÐÉèÖá£
ÔÚÉÏÊöÉèÖÃÒ³ÃæµÄ¡°Localization¡±ÇøÓòÖУ¬ÕÒµ½¡°Date format¡±Ñ¡Ïî¡£
½«ÈÕÆÚÃûÌÃÐÞ¸ÄΪ¡°YYYYÄêMMÔÂDDÈÕ¡±¡£
µã»÷Ò³ÃæÏ·½µÄ¡°Save changes¡±°´Å¥£¬ÉúÑÄÈÕÆÚÃûÌÃÉèÖá£
Èý¡¢ÐÞ¸ÄGitLabµÄʱ¼äÃûÌÃ
ÓëÈÕÆÚÃûÌÃÀàËÆ£¬GitLabµÄĬÈÏʱ¼äÃûÌÃΪ¡°HH:MM:SS¡±£¬ÈôÊÇÐèÒª½«ÆäÐÞ¸ÄΪÖÐÎÄÃûÌ㬿ÉÒÔƾ֤ÒÔÏ°취¾ÙÐвÙ×÷¡£
ÔÚÉÏÊöÉèÖÃÒ³ÃæµÄ¡°Localization¡±ÇøÓòÖУ¬ÕÒµ½¡°Time format¡±Ñ¡Ïî¡£
½«Ê±¼äÃûÌÃÐÞ¸ÄΪ¡°HHʱMM·ÖSSÃ롱¡£
µã»÷Ò³ÃæÏ·½µÄ¡°Save changes¡±°´Å¥£¬ÉúÑÄʱ¼äÃûÌÃÉèÖá£
ËÄ¡¢ÉèÖÃGitLabÓʼþ֪ͨµÄÖÐÎÄÄÚÈÝ
µ±GitLabÖ´ÐÐijЩ²Ù×÷»ò±¬·¢Ä³Ð©ÊÂÎñʱ£¬»áÏòÖ¸¶¨µÄÓû§·¢ËÍÓʼþ֪ͨ£¬Õâʱ¼äÓʼþÄÚÈÝÒ²ÐèÒª¾ÙÐÐÖÐÎÄ»¯¡£
ÔÚGitLabЧÀÍÆ÷µÄÖÎÀíºǫ́ÖУ¬ÕÒµ½¡°/etc/gitlab/gitlab.rb¡±Îļþ¡£
Ð޸ĸÃÎļþÖеÄSMTPÉèÖ㬿ɽÓÄɺ£ÄÚµÄÓʼþЧÀÍÉÌ£¬ÀýÈç163¡¢QQµÈ¡£
ÔÚÎļþµÄ×îºó´¦Ìí¼ÓÒÔÏÂÄÚÈÝ£º
gitlab_rails['gitlab_email_from'] = '·¢¼þÈ˵صã' gitlab_rails['gitlab_email_reply_to'] = 'ÊÕ¼þÈ˵صã'
µÇ¼ºó¸´ÖÆ
Ö´ÐÐÒÔÏÂÏÂÁÖØÔØGitLabµÄÉèÖÃÎļþ£º
gitlab-ctl reconfigure
µÇ¼ºó¸´ÖÆ
ÏÖÔÚÔÚGitLab·¢ËÍÓʼþ֪ͨʱ£¬ÓʼþÄÚÈݾÍÒѾ±»ÀֳɵØÉèÖóÉÁËÖÐÎÄ¡£
×ܽá
ÔÚGitLab¾ÙÐÐÖÐÎÄÉèÖ㬿ÉÒÔ×ÊÖúÓû§¸üºÃµØÃ÷È·ºÍʹÓÃÕâ¸ö°æ±¾ÖÎÀíÈí¼þ£¬×èÖ¹ÒòÓïÑÔ²î±ð¶ø±¬·¢À§ÈÅ¡£±¾ÎÄÏÈÈÝÁËÔõÑùÐÞ¸ÄGitLabµÄĬÈÏÓïÑÔ¡¢ÈÕÆÚÃûÌá¢Ê±¼äÃûÌá¢ÒÔ¼°Óʼþ֪ͨµÄÄÚÈÝÉèÖã¬Ï£Íû¶ÔÓÐÐèÒªµÄÓû§ÓÐËù×ÊÖú¡£
ÒÔÉϾÍÊÇÏê½âÔÚGitLabÖоÙÐÐÖÐÎÄÉèÖõÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡