加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

centos6/7安装gitlab

发布时间:2020-12-14 16:35:39 所属栏目:百科 来源:网络整理
导读: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= 6 enabled=

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=6 enabled=1
7 gpgkey=https:packages.gitlab.com/gpg.key

?

你的CentOS/RHEL版本:centos7

mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7
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/

?

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读