安装postfix,gitlab需要postfix来发送邮件
yum install -y postfix
systemctl enable postfix
systemctl start postfix添加gitlab-ce yum源
[root@cloudserver yum.repos.d]# cat gitlab-ce.repo
[gitlab-ce]
name=gitlab-ce
baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/
gpgcheck=0
enable=1
开始安装yum makecache
yum install gitlab-ce安装过程会下载130m的文件,网速如果慢的话,需要等待一会。
安装完成是这个样子:
初始化gitlab
gitlab-ctl reconfigure访问
修改密码,然后使用root,修改的新密码登录
本文介绍如何通过YUM安装Postfix并配置其为GitLab发送邮件,同时提供详细的步骤来安装GitLab-CE,包括添加YUM源、初始化及访问GitLab。

被折叠的 条评论
为什么被折叠?



