本文共 253 字,大约阅读时间需要 1 分钟。
vim /etc/yum.repos.d/gitlab-ce.repo
[gitlab-ce]
name=Gitlab CE Repository baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el$releasever/ gpgcheck=0 enabled=1安装GitLab社区版
yum -y install gitlab-ce #自动安装最新版 yum -y install gitlab-ce-x.x.x #安装指定版本转载地址:http://beepb.baihongyu.com/