Centos 7安装 gitlab

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

curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
yum install -y gitlab-ce

gitlab-ctl reconfigure

你可能感兴趣的:(Centos 7安装 gitlab)