一.修改gitlab端口:

打开/etc/gitlab/gitlab.rb文件,修改以下几点:

external_url "http://192.168.58.62:9999"

unicorn['listen'] = 'localhost' unicorn['port'] = 9999

然后

#gitlab-ctl stop
#gitlab-ctl reconfugure
#gitlab-ctl start

如此,访问localhost:9999即可

二.在卸载gitlab然后再次安装执行sudo gitlab-ctl reconfigure的时候往往会出现:ruby_block[supervise_redis_sleep] action run,会一直卡无法往下进行!

1、按住CTRL+C强制结束;

2、运行:systemctl restart gitlab-runsvdir;

3、再次执行:gitlab-ctl reconfigure

三.reconfigure时:Is the server running locally and accepting connections on Unix domain socket "/var/opt/gitlab/postgresql/.s.PGSQL.5432"?

sudo chmod -R 755 /var/opt/gitlab/postgresql

相关文章:

  • 2021-09-11
  • 2022-02-19
  • 2022-01-22
  • 2021-10-17
  • 2021-06-16
  • 2021-12-20
  • 2021-10-23
  • 2021-10-31
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2021-12-02
  • 2021-05-17
相关资源
相似解决方案