1、查看当前gitlab版本
[root@localhost ~]# cat /opt/gitlab/embedded/service/gitlab-rails/VERSION
10.8.2
2、配置gitlab源
cat << EOF > /etc/yum.repos.d/gitlab-ce.repo
[gitlab-ce]
name=gitlab-ce
baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/
repo_gpgcheck=0
gpgcheck=0
enable=1
gpgkey=https://packages.gitlab.com/gpg.key
EOF
3、安装gitlab 10.