1.下载rpm包
地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/?C=M
2.安装依赖
yum -y install policycoreutils-python openssh-server
# 没有policycoreutils-python 安装 policycoreutils-python-utils
systemctl enable sshd
systemctl start sshd
3.安装gitlab的rpm包
**注意不要用yum安装,有坑
rpm -Uvh gitlab-ce-15.2.0-ce.0.el7.x86_64.rpm
4.启动gitlab
gitlab-ctl reconfigure
gitlab-ctl restart
标签:python,安装,gitlab,yum,rpm,policycoreutils From: https://www.cnblogs.com/LunuZ/p/17922221.html