---恢复内容开始---
1.安装依赖
yum -y install curl policycoreutils openssh-server openssh-clients policycoreutils-python postfix
2、设置服务自启
systemctl start sshd
systemctl enable sshd
systemctl enable postfix
systemctl start postfix
3、下载gitlab
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.6-ce.0.el7.x86_64.rpm
出现狐狸图标表示安装成功
4修改配置文件,把IP换成自己的IP
vim /etc/gitlab/gitlab.rb
external_url 'http://192.168.0.12'
5、修改gitlab后重新配置
gitlab-ctl reconfigure
---恢复内容结束---