在Anolis 中安装极狐GitLab-jh-安装说明

时间:2024-03-03 12:11:48
  1. 官方文档中 CentOS 安装说明中,使用 curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash 安装CentOS yum源,之后就可以使用 sudo yum -y install gitlab-ee 进行安装了
  2. 执行 curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash 运行的脚本内容可在 https://packages.gitlab.com/gitlab/gitlab-ee/install#bash-rpm 中查看,脚本中下载 yum 源的地址是 https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/config_file.repo?os=${os}&dist=${dist}&source=script ,由从地址可知,下载时会使用当前系统的名称作为参数
  3. 由于龙蜥系统与CentOS软件生态兼容,可以自己构建下载链接并手动下载yum源,放入到 /etc/yum.repos.d/文件夹中即可