最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
GitLab 7 SMTP 配置步骤详解
时间:2022-06-30 21:08:05 编辑:袖梨 来源:一聚教程网
本配置文档适用 GitLab 7 (Omnibus)
1、安装参考
https://about.gitlab.com/downloads/
2、下载gitlab-ce
https://packages.gitlab.com/gitlab/gitlab-ce
sudo dpkg -i gitlab-ce_7.12.2.deb
sudo gitlab-ctl reconfigure
3、邮件配置参考
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/smtp.md
https://elijahpaul.co.uk/using-an-smtp-server-with-gitlab/
4、编辑配置/etc/gitlab/gitlab.rb
external_url 'http://gitlab.test.com'
gitlab_rails['gitlab_email_from'] = '[email protected]'
gitlab_rails['gitlab_email_reply_to'] = [email protected]'
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.exmail.qq.com"
gitlab_rails['smtp_port'] = 25
gitlab_rails['smtp_user_name'] = "[email protected]"
gitlab_rails['smtp_password'] = "test123"
gitlab_rails['smtp_domain'] = "smtp.qq.com"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = false
user['git_user_name'] = [email protected]
5、重新加载配置
gitlab-ctl reconfigure
6、重新启动gitlab(可以不用执行)
gitlab-ctl restart
相关文章
- 王者荣耀侦探能力大测试攻略 王者荣耀侦探能力大测试怎么过 11-22
- 无期迷途主线前瞻兑换码是什么 11-22
- 原神欧洛伦怎么培养 11-22
- 炉石传说网易云音乐联动怎么玩 11-22
- 永劫无间手游确幸转盘怎么样 11-22
- 无期迷途主线前瞻兑换码是什么 无期迷途主线前瞻直播兑换码介绍 11-22