最近在尝试内部搭建gitlab,wiki这些工具...
参考文本:
https://about.gitlab.com/downloads/
https://www.uloli.com/p/6sh26/
http://www.tuicool.com/articles/AzeEru
天朝的同学需要注意的坑:
把apt-get的源替换一下...然后update一下...
我使用的是一键生成的ce安装包,手动下载好deb文件...需要FQ...
然后就是配置问题了,gitlab只需要配置一个文件:/etc/gitlab/gitlab.rb
注意:这个配置,只能发送到qq邮箱....
不能发送邮件的问题:
https://ruby-china.org/topics/20450
http://dev.son1c.com/show/2612.html
附加本人的配置方案gitlab.rb:
## Url on which GitLab will be reachable.
## For more details on configuring external_url see:
external_url ‘http://gitlab.baoyi.com‘
## Note: configuration settings below are optional.
## Uncomment and change the value.
############################
# gitlab.yml configuration #
############################
gitlab_rails[‘smtp_enable‘] = true
gitlab_rails[‘smtp_address‘] = "smtp.qq.com"
gitlab_rails[‘smtp_port‘] = 25
gitlab_rails[‘smtp_user_name‘] = "[email protected]"
gitlab_rails[‘smtp_password‘] = "qwe1122"
gitlab_rails[‘smtp_domain‘] = "smtp.qq.com"
gitlab_rails[‘smtp_authentication‘] = :plain
gitlab_rails[‘smtp_enable_starttls_auto‘] = true
gitlab_rails[‘gitlab_email_from‘] = "[email protected]"
user["git_user_email"] = "[email protected]"