美文网首页
Centos 7.x 安装Gitlab服务器超详细图简教程

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

作者: IT男的假智慧 | 来源:发表于2019-06-05 14:11 被阅读0次

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.重新启动 大功告成

相关文章

网友评论

      本文标题:Centos 7.x 安装Gitlab服务器超详细图简教程

      本文链接:https://www.haomeiwen.com/subject/osnjxctx.html