由于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

相关文章:

  • 2021-10-22
  • 2022-12-23
  • 2021-08-16
  • 2021-10-19
  • 2022-02-05
  • 2021-06-03
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2021-12-13
  • 2022-12-23
  • 2022-02-23
  • 2022-02-06
  • 2022-02-06
  • 2021-12-14
  • 2021-06-25
相关资源
相似解决方案