欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

centos6/7安装gitlab

发布时间:2024/4/14 编程问答 48 豆豆
生活随笔 收集整理的这篇文章主要介绍了 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/

 

超强干货来袭 云风专访:近40年码龄,通宵达旦的技术人生

总结

以上是生活随笔为你收集整理的centos6/7安装gitlab的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。