Centos 7.x 安装Gitlab服务器超详细图简教程

2019-06-05  本文已影响0人  IT男的假智慧

1.安装ssh

sudo yum install -y curl policycoreutils-pythonopenssh-server

2wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm

3.安装gitlab 安装命令:rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm

反正会出现一推这种玩意。看不懂没有关系

4 直接启动 gitlab-ctl reconfigure 会成功是这样的

5启动gitlab  gitlab-ctl restart

成功如下

6 输入ip启动

默认端口是80

7 修改端口和ip 

vim  /etc/gitlab/gitlab.rb

重新启动

8.重新启动 大功告成

上一篇 下一篇

猜你喜欢

热点阅读