美文网首页
gitlab 的安装

gitlab 的安装

作者: lh92 | 来源:发表于2018-07-06 14:56 被阅读0次

不能翻墙的朋友可以去清华的镜像库 按照步骤来
https://mirrors.tuna.tsinghua.edu.cn/help/gitlab-ce/

新建 /etc/yum.repos.d/gitlab-ce.repo,内容为
[gitlab-ce]
name=Gitlab CE Repository
baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el$releasever/
gpgcheck=0
enabled=1
再执行
sudo yum makecache
sudo yum install gitlab-ce

sudo vi /etc/gitlab/gitlab.rb
执行这个命令
修改external_url 'http://ip'

sudo gitlab-ctl reconfigure 重启

相关文章

网友评论

      本文标题:gitlab 的安装

      本文链接:https://www.haomeiwen.com/subject/sstbuftx.html