打开/etc/gitlab/gitlab.rb文件,修改以下几点:
external_url 'http://localhost:9999'
unicorn['listen'] = '127.0.0.1'
unicorn['port'] = 9999
然后
#gitlab-ctl stop
#gitlab-ctl reconfugure
#gitlab-ctl start
如此,访问localhost:9999即可
打开/etc/gitlab/gitlab.rb文件,修改以下几点:
external_url 'http://localhost:9999'
unicorn['listen'] = '127.0.0.1'
unicorn['port'] = 9999
然后
#gitlab-ctl stop
#gitlab-ctl reconfugure
#gitlab-ctl start
如此,访问localhost:9999即可