GitLab 支持 Debian,但需要注意版本对应关系。
GitLab 官方 明确支持 Debian,是 GitLab 的主要支持平台之一。
不过,GitLab 通常只支持特定的 Debian 版本,而且版本更新较快。
以 GitLab CE / EE 为例(具体以官方文档为准):
GitLab 官方会随新版本逐步淘汰旧系统,所以不建议在 EOL(生命周期结束)的 Debian 上安装 GitLab。
GitLab 官方推荐通过 Omnibus 包 安装,Debian 属于一等支持系统:
.deb 包sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates tzdata perl
curl https://packages.gitlab.com/gpg.key | sudo apt-key add -
sudo apt-get install -y debian-archive-keyring
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
sudo EXTERNAL_URL="https://gitlab.example.com" apt-get install gitlab-ee
如果你计划部署 GitLab:
如果你愿意,我可以帮你: