gitlab安装与部署
1、确保sshd基础服务的安装yum -y install curl policycoreutils openssh-server openssh-clients

2、启动并设置sshd服务的开机启动systemctl enable sshdsystemctl start sshd

3、安装postfix并启动yum -y install postfixsystemctl enable postfixsystemctl start postfix

4、如果firewalld开启的话,放行防譬挝钣苈火墙。我这里没有开启firewall-cmd --permanent --add-service=httpsystemctl reload firewalld

5、添加gitlab仓库到本地服务器上

6、并执行安装命令

7、启动gitlabgitlab-ctl reconfigure
