阿里云centos7 安装gitlab 问题
问题描述
failure: repodata/repomd.xml from gitlab_gitlab-ce: [Errno 256] No more mirrors to try.
https://packages.gitlab.com/gitlab/gitlab-ce/el/7/x86_64/repodata/repomd.xml: [Errno 15] user interrupt
碰到这种情况。知道是源的问题,但是我自己没用什么好办法解决,所以用rpm方法解决
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-13.12.8-ce.0.el7.x86_64.rpm
rpm -ivh gitlab-ce-13.12.8-ce.0.el7.x86_64.rpm
之后正常修改配置文件
/etc/gitlab/gitlab.rb
gitlab-ctl reconfigure
之后重启下
gitlab-ctl restart