部署环境:

          centos7.2、gitlab-9.4.2

部署步骤:

  1. 安装并配置必要的依赖关系以及配置防火墙打开http端口

sudo yum install curl policycoreutils openssh-server openssh-clients
sudo systemctl enable sshd
sudo systemctl start sshd
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld

  1. 添加 GitLab 镜像源并
收藏 打印