1 Gitlab安装
1.1 安装相关基础包
前言:操作系统 centos 7.9 ,4核8G,data磁盘空间至少500G起,因为这个空间会存git代码。
(1) 安装openssh-server
yum install -y curl policycoreutils-python openssh-server
(2) 启用并启动SSHD
systemctl enable sshd
systemctl start sshd
(3) 安装邮件postfix
yum install -y postfix
systemctl enable postfix
systemctl start postfix
如若出现以下报错:
Job for postfix.service failed because the control process exited