1
我是GitLab和CentOS的新手。 我試圖通過以下官方鏈接在CentOS 6.5安裝GitLab: https://about.gitlab.com/downloads/#centos6在CentOS 6.5上安裝GitLab:捲曲錯誤
雖然下面的步驟執行:
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
我收到以下錯誤:
Detected operating system as centos/6.
Checking for curl...
Detected curl...
Downloading repository file: https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/config_file.repo?os=centos&dist=6&source=script
curl: (6) Couldn't resolve host 'packages.gitlab.com'
Unable to run:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/config_file.repo?os=centos&dist=6&source=script
Double check your curl installation and try again.
我也嘗試使用代理設置的curl命令,仍然得到相同的錯誤。 任何幫助非常感謝!
解決方法是隻需下載軟件包並將其安裝。該bash腳本僅確定您的操作系統,然後下載並安裝適當的軟件包。如果你願意,你一定可以自己做。 –