linux中Gitlab代码托管服务器安装
Gitlab安装
1.安装相关依赖
yum -y install policycoreutils openssh-server openssh-clients postfix
2.启动ssh服务&设置为开机启动
systemctl enable sshd && sudo systemctl start sshd
3.设置postfifix开机自启,并启动,postfifix支持gitlab发信功能
systemctl enable postfix && systemctl start postfix