解决方法如下:

  1. # gitlab-ctl stop
  2. # vi /etc/gitlab/gitlab.rb (取消注释并修改端口)
  3. unicorn['port'] = 8801
  4. # gitlab-ctl reconfigure (重新生成配置)
  5. # gitlab-ctl restart
  6. # lsof -i:8081 (check whether unicorn has started properly)

有时候修改配置后要不断刷新才能生效

1_0pTgaiHFknWZpv4FUnUQPA.png

Last modification:January 21st, 2019 at 06:38 pm
If you think my article is useful to you, please feel free to appreciate