首先准备工作:
yum install -y vim
yum install -y wget
cd /usr/local
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/gitlab-ce-10.0.2-ce.0.el6.x86_64.rpm
service iptables stop
chkconfig iptables off
安装git:yum install -y git
安装gitlab依赖:yum -y install policycoreutils openssh-server openssh-clients postfix cronie policycoreutils-python
service postfix start
chkconfig postfix on
cd /usr/local
rpm -ivh gitlab-ce-10.0.2-ce.0.el6.x86_64.rpm
vim /etc/gitlab/gitlab.rb
external_url ‘http://ip:8081‘
gitlab-ctl reconfigure
gitlab-ctl restart
后续待补充...
yum install -y vim
原文:https://www.cnblogs.com/chaihy/p/13570911.html