centos7.4安装gitlab10.5.1并修改默认端口方法

1、安装方法:

https://help.aliyun.com/document_detail/52857.html

2、修改端口:

1>确保iptables中的相应端口为打开

2>如果是阿里云服务器,确保安全组中的相应端口打开

3>修改/etc/gitlab/gitlab.rb中的端口号,external_url 'http://106.14.0.101:82'

4>gitlab-ctl reconfigure

5>gitlab-ctl restart

6>reboot重启服务器

7>ok,在浏览器中输入exterrnal_url即可

猜你喜欢

转载自blog.csdn.net/haohaojian/article/details/79393744