yum install -y curl policycoreutils-python openssh-server postfix wget wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-11.8.10-ce.0.el7.x86_64.rpm rpm -i gitlab-ce-11.8.10-ce.0.el7.x86_64.rpm vim /etc/gitlab/gitlab.rb gitlab-ctl reconfigure gitlab-ctl restart http://IP 初始账户: root 密码:5iveL!fe