使用yum安装gitlab 配置yum源,使用yum安装:

yum install gitlab-ce -y #安装太慢,下面使用清华的源: cat gitlab_gitlab-ce.repo [gitlab-ce] name=gitlab-ce baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7 repo_gpcheck=0 enabled=1 gpgkey=https://packages.gitlab.com/gpg.key yum install gitlab-ce -y