最新下载
热门教程
- 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.g**it*lab.com/gitlab/gitlab-ce
sudo dpkg -i gitlab-ce_7.12.2.deb
sudo gitlab-ctl reconfigure
3、邮件配置参考
https://git*l*ab.*com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/smtp.md
https://elijahpaul.**c*o.uk/using-an-smtp-server-with-gitlab/
4、编辑配置/etc/gitlab/gitlab.rb
external_url 'http://gitlab.te**s*t.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
相关文章
- 土豆视频网页版入口-土豆视频高清在线播放 12-01
- Hitomi.la最新镜像网站入口 - 2026可用国内访问地址分享 11-26
- 土豆视频网页版入口地址-土豆视频在线播放入口 11-17
- 哔哩哔哩官方网页版入口地址-哔哩哔哩blibili手机电脑网页版入口地址 11-16
- AO3镜像网站最新入口汇总 - 2026可用镜像链接列表 11-16
- 超星学生通登录入口-超星官网网页版登录入口 11-13