[toc]
gitlab安装
rpm包安装
安装依赖包
# 安装依赖包
yum -y install curl openssh-server openssh-clients postfix cronie policycoreutils-python
# 启动postfix
systemctl start postfix && systemctl enable postfix
下载安装包
也可以从 清华源 下载
export VERSION=17.4.0
wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-${VERSION}-ce.0.el7.x86_64.rpm/download.rpm
安装
说明
如需卸载可以参考 官方文档
yum -y localinstall gitlab-ce-${VERSION}-ce.0.el7.x86_64.rpm