官网安装地址 (https://about.gitlab.com/install/#centos-7)

1:先安装依赖

  yum install -y curl policycoreutils-python openssh-server

sudo systemctl enable sshd
sudo systemctl start sshd
启动防火墙:
 systemctl start  firewalld.service

添加防火墙规则:
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
重新加载防火墙
sudo systemctl reload firewalld

安装 postfix(发送邮件使用)

sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix

添加 gitlab 依赖,并且安装

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash

安装客户端

yum install -y gitlab-ee

centos 7安装 gitlab

出现这个界面说明安装成功 。

相关文章:

  • 2021-11-25
  • 2022-01-11
  • 2021-08-06
  • 2022-01-20
  • 2021-12-28
  • 2022-12-23
  • 2021-12-29
猜你喜欢
  • 2021-10-31
  • 2022-01-22
  • 2021-06-14
  • 2021-12-11
  • 2021-03-31
相关资源
相似解决方案