主要安装请看:https://www.cnblogs.com/niuben/p/10867877.html
需要注意的是,配置镜像源的时候,要多加一个
gpccheck=0
[gitlab-ce]
name=gitlab-ce
baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6
Repo_gpgcheck=0
Enabled=1
Gpgkey=https://packages.gitlab.com/gpg.key
gpgcheck=0