您的位置:首页 > 运维架构 > Linux

centos6/7安装gitlab

2016-05-11 11:23 519 查看
CentOS/RHEL 6/7安装gitlab
新建 /etc/yum.repos.d/gitlab-ce.repo,内容为
你的CentOS/RHEL版本:centos6

[gitlab-ce]
name=gitlab-ce
baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6
repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=https://packages.gitlab.com/gpg.key


你的CentOS/RHEL版本:centos7

[gitlab-ce]
name=gitlab-ce
baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7
repo_gpgcheck=0
gpgcheck=0
enabled=1
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/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: