【发布时间】:2016-05-22 05:40:13
【问题描述】:
我尝试在 CentOS 6.7(Final) 上安装 gitlab-ce。但是,失败了。
我的环境
使用代理(在 /etc/yum.conf 中设置代理)
我的 gitlab_gitlab-ce.repo 文件 (https://packages.gitlab.com/gitlab/gitlab-ce/install手动配置)
[gitlab_gitlab-ce]
name=gitlab_gitlab-ce
baseurl=https://packages.gitlab.com/gitlab/gitlab-ce/el/6/$basearch
repo_gpgcheck=1
enabled=1
gpgkey=https://packages.gitlab.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
[gitlab_gitlab-ce-source]
name=gitlab_gitlab-ce-source
baseurl=https://packages.gitlab.com/gitlab/gitlab-ce/el/6/SRPMS
repo_gpgcheck=1
enabled=1
gpgkey=https://packages.gitlab.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
执行安装命令时出现错误
yum -q makecache -y --disablerepo='*' --enablerepo='gitlab_gitlab-ce'
https://packages.gitlab.com/gitlab/gitlab-ce/el/6/x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: gitlab_gitlab-ce. Please verify its path and try again
我该怎么办?请帮帮我。
【问题讨论】:
-
您手动设置是否有特定原因?安装脚本会为您执行此操作。