安装GitLab步骤中,配置yum仓库报错
来源:2-3 GitLab安装配置管理

剑帝叶尘
2019-03-18
报错信息如下:
[root@gitlab-jenkins src]# curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh |sudo bash
Detected operating system as centos/7.
Checking for curl…
Detected curl…
Downloading repository file: https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/config_file.repo?os=centos&dist=7&source=script
done.
Installing pygpgme to verify GPG signatures…
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
- base: mirrors.aliyun.com
- epel: mirrors.aliyun.com
- extras: mirrors.aliyun.com
- updates: mirrors.aliyun.com
gitlab_gitlab-ce-source/signature | 836 B 00:00:00
Retrieving key from https://packages.gitlab.com/gitlab/gitlab-ce/gpgkey
Importing GPG key 0xE15E78F4:
Userid : "GitLab B.V. (package repository signing key) packages@gitlab.com"
Fingerprint: 1a4c 919d b987 d435 9396 38b9 1421 9a96 e15e 78f4
From : https://packages.gitlab.com/gitlab/gitlab-ce/gpgkey
Retrieving key from https://packages.gitlab.com/gitlab/gitlab-ce/gpgkey/gitlab-gitlab-ce-3D645A26AB9FBD22.pub.gpg
gitlab_gitlab-ce-source/signature | 951 B 00:00:02 !!!
gitlab_gitlab-ce-source/primar FAILED
https://packages.gitlab.com/gitlab/gitlab-ce/el/7/SRPMS/repodata/primary.xml.gz: [Errno 14] HTTPS Error 302 - Found 0.0 B/s | 0 B 00:00:00
Trying other mirror.
gitlab_gitlab-ce-source/primary | 175 B 00:00:00
Package pygpgme-0.3-9.el7.x86_64 already installed and latest version
是不是gitlab的官方yum源被墙了?又该如何处理?
写回答
1回答
-
一路向北
2019-03-20
感谢这位同学的关注,可以从你的Linux主机去ping一下日志出现的有问题的域名,判断是否无法访问,然后可以在网上找一下gitlab cn镜像 更换yum源即可
00
相似问题