安装gitlab:
1 | curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/ |
防火墙设置
之前已经配置好了,略
gitlab配置
打开/etc/gitlab/gitlab.rb
1 | external_url 'http://gitlab.bytenlp.site' |
让配置生效,并重启gitlab服务
1 | # 重新配置gitlab |
在浏览器输入”ip:端口号”查看效果,详细参考这里
参考教程:
- https://www.jianshu.com/p/bf7b09e234c8
- https://lil-xing.top/2019/08/26/GitLab%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/
sudo apt-get install gitlab-ee=13.8.7-ee.0 - https://www.jianshu.com/p/ade38a53b1ac
测试一下