1.Gitlab代码托管服务器安装
①Gitlab简介
②Gitlab安装
安装相关依赖:
yum install curl policycoreutils openssh-server openssh-clients postfix policycoreutils-python -y
启动ssh服务&设置为开机启动:
systemctl enable sshd && systemctl start sshd
查看开启状态:
systemctl status sshd
设置postfix开机自启,并启动,postfix支持gitlab发信功能:
systemctl enable postfix && systemctl start postfix
清空规则:
iptables -F
关闭防火墙:
systemctl stop firewalld
systemctl disable firewalld