centos6/7安装gitlab
CentOS/RHEL 6/7安装gitlab
新建 /etc/yum.repos.d/gitlab-ce.repo,内容为
你的CentOS/RHEL版本:centos6
1 [gitlab-ce] 2 name=gitlab-ce 3 baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6 4 repo_gpgcheck=0 5 gpgcheck=0 6 enabled=1 7 gpgkey=https://packages.gitlab.com/gpg.key
你的CentOS/RHEL版本:centos7
1 [gitlab-ce] 2 name=gitlab-ce 3 baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7 4 repo_gpgcheck=0 5 gpgcheck=0 6 enabled=1 7 gpgkey=https://packages.gitlab.com/gpg.key
再执行
sudo yum makecache
sudo yum install gitlab-ce
本文参考:
Gitlab Community Edition 镜像使用帮助
https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/
如果觉得这文章还算用心,请劳驾点击右下角的推荐,这是对我们这些做开源分享的最大的肯定,谢谢。
作者:zqifa
出处:https://www.cnblogs.com/zqifa/
欢迎访问新博客地址:https://www.l1mn.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。