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即可