1:安装依赖
yum install -y curl policycoreutils-python openssh-server #安装依赖
2:下载软件包
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.2.2-ce.0.el7.x86_64.rpm #下载软件包
3:安装gitlab
rpm -ivh gitlab-ce-10.2.2-ce.0.el7.x86_64.rpm #安装gitlab
4:查看防火状态
systemctl status firewalld
5:暂时关闭防火墙
systemctl stop firewalld
6:执行命令重新配置gitlab
gitlab-ctl reconfigure
gitlab-ctl restart
7:进行访问
ip地址就可以
8: