mirror-web/help/_posts/1970-01-01-gitlab-ce.md

3.4 KiB
Raw Blame History

category layout mirrorid
help help gitlab-ce

GitLab CE 软件仓库镜像使用帮助

是 否
是 否

注意gitlab-ce 镜像仅支持 x86-64 架构

Debian/Ubuntu 用户

首先信任 GitLab 的 GPG 公钥:

{% raw %}

{% endraw %}



再选择你的 Debian/Ubuntu 版本,文本框中内容写进 /etc/apt/sources.list.d/gitlab-ce.list

Debian 11 Debian 10 Debian 9 Debian 8 Ubuntu 22.04 LTS Ubuntu 20.04 LTS Ubuntu 18.04 LTS Ubuntu 16.04 LTS

{% raw %}

{% endraw %}



安装 gitlab-ce:

{% raw %}

{% endraw %}



RHEL/CentOS 用户

新建 /etc/yum.repos.d/gitlab-ce.repo,内容为

{% raw %}

{% endraw %}



再执行

{% raw %}

{% endraw %}