CentOS6 GitLab安装

    xiaoxiao2021-04-11  30

    安装流程: https://about.gitlab.com/downloads/#centos6 配置: 1、GitLab默认是80端口,如果需要修改端口 vi /etc/gitlab/gitlab.rb: external_url ‘http://localhost:8001’

    2、unicorn默认是8080端口,如果需要修改端口 vi /etc/gitlab/gitlab.rb unicorn[‘listen’] = ‘127.0.0.1’ unicorn[‘port’] = 8002

    3、执行sudo gitlab-ctl reconfigure  使新配置生效

    4、初次访问,让修改密码,之后用root作为用户名登录

    转载请注明原文地址: https://ju.6miu.com/read-666575.html

    最新回复(0)