1、添加镜像

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

2、安装

rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm

3、修改配置文件

vim  /etc/gitlab/gitlab.rb

 

安装gitlab,出现502解决方案

 4、重置与重启

gitlab-ctl reconfigure

gitlab-ctl restart

 ————————————————————————————————————————————————————————

 上图中我修改了unicorn的端口为23334

在我没有配置这条指令之前

我们可以使用

gitlab-ctl tail [进程名] 如 gitlab-ctl tail unicorn 

来查看进程使用情况

默认的是8080已经被占用了导致了502

安装gitlab,出现502解决方案

 

 

 

 

修改有效的端口就可以正常访问了

 

安装gitlab,出现502解决方案

 

相关文章:

  • 2021-11-29
  • 2021-05-01
  • 2021-11-23
  • 2022-12-23
  • 2021-09-20
  • 2021-12-03
  • 2021-08-07
  • 2021-05-11
猜你喜欢
  • 2022-12-23
  • 2022-02-16
  • 2021-12-28
  • 2022-01-02
  • 2022-12-23
相关资源
相似解决方案