centos6/7安装gitlab

前端之家收集整理的这篇文章主要介绍了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=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/

 

猜你在找的Git相关文章