一、部署前前期配置
- 配置主机名
hostname gitlab
bash
- 安装依赖包
yum -y install curl openssh-server openssh-clients postfix cronie policycoreutils-python
- 安装gitlab
rpm -ivh gitlab-ce-11.11.3-ce.0.el7.x86_64.rpm
- 修改配置文件
vim /etc/gitlab/gitlab.rb
external_url 'http://192.168.200.111'
- 启动gitlab
gitlab-ctl reconfigure
- 测试