rpm安装gitlab
1、打开http访问和ssh访问
1.sudo yum install -y curl policycoreutils-python openssh-server cronie
2.lokkit -s http -s ssh
2、安装Postfix以发送通知电子邮件
1.sudo yum install postfix
2.service postfix start
3.chkconfig postfix on
3、第三部开始我就没有按照官网的命令去安装了,因为后面安装会出现版本问题,所以我找了一个符合自己系统的git版本进行了安装。
1.wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/gitlab-ce-10.1.4-ce.0.el6.x86_64.rpm

2.rpm -ivh gitlab-ce-10.1.4-ce.0.el6.x86_64.rpm执行安装
3.gitlab配置启动
gitlab-ctl reconfigure //这里执行的时间比较长,请耐心等待
4、默认端口修改 ip


5.重新启动

浙公网安备 33010602011771号