1.安装依赖软件包前端
yum install -y curl policycoreutils-python openssh-server
2.下载yum配置脚本python
wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh
3.运行yum配置脚本git
bash script.rpm.sh
4.安装gitlabweb
yum -y install gitlab-ee
5.修改监听端口 /etc/gitlab/gitlab.rbbash
external_url 'http://192.168.88.186'
6.初始化gitlabssh
gitlab-ctl reconfigure
7.查看gitlab状态curl
gitlab-ctl status
8.登陆web前端,修改root密码ide