GitLab的Gravatar头像服务不可用

由于www.gravatar.com在国内不可正常使用,导致我们搭建的GitLab在网页上会阻塞大量时间,并最终无法显示头像。我们可以将其替换成“多说”的头像服务。我使用的是CE Omnibus版的的GitLab,编辑/etc/gitlab/gitlab.rb,修改或增加:
gitlab_rails['gravatar_plain_url'] = 'http://gravatar.duoshuo.com/avatar/%{hash}?s=%{size}&d=identicon'

重启并修正缓存数据:
sudo gitlab-ctl reconfigure && sudo gitlab-rake cache:clear RAILS_ENV=production

Reset your GitLab root password from a terminal:
http://roland.kierkels.net/git/reset-your-gitlab-root-password-from-a-terminal/

终极 Shell——ZSH:
https://zhuanlan.zhihu.com/p/19556676

原文地址:https://www.cnblogs.com/hubery/p/5455587.html