首页 > 其他 > 详细

centos6/7安装gitlab

时间:2016-05-11 12:55:24      阅读:106      评论:0      收藏:0      [点我收藏+]

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/

 

centos6/7安装gitlab

原文:http://www.cnblogs.com/zqifa/p/gitlab-1.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!