01. yum install -y curl policycoreutils-python openssh-server 02. systemctl enable sshd 03. systemctl start sshd 04. wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-13.4.2-ce.0.el7.x86_64.rpm 05. rpm -i gitlab-ce-13.4.2-ce.0.el7.x86_64.rpm
06. 改配置文件/etc/gitlab/gitlab.rb中external_url 'http://106.75.252.72:80' 07. firewall-cmd --permanent --add-port=80/tcp 08. firewall-cmd --reload 09. gitlab-ctl reconfigure 10. gitlab-ctl restart