Centos7.4 installs gitlab10.5.1 and modifies the default port method

1. Installation method:

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

2. Modify the port:

1> Make sure the corresponding port in iptables is open

2> If it is an Alibaba Cloud server, make sure the corresponding port in the security group is open

3> Modify the port number in /etc/gitlab/gitlab.rb, external_url 'http://106.14.0.101:82'

4>gitlab-ctl reconfigure

5>gitlab-ctl restart

6>reboot to restart the server

7>ok, enter external_url in the browser

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325792975&siteId=291194637