gitlab
1.安装依赖包
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@H_403_20@
2.安装gitlab-ce
curl -sS http://packages.gitlab.cc/install/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce@H_403_20@
3.配置并启动 GitLab
sudo gitlab-ctl reconfigure@H_403_20@ 原文链接:https://www.f2er.com/centos/376767.html