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

相关文章

linux下开机自启: 在/etc/init.d目录下新建文件elasticsear...
1、因为在centos7中/etc/rc.d/rc.local的权限被降低了,所以...
最简单的查看方法可以使用ls -ll、ls-lh命令进行查看,当使用...
ASP.NET Core应用程序发布linux在shell中运行是正常的。可一...
设置时区(CentOS 7) 先执行命令timedatectl status|grep &...
vim /etc/sysconfig/network-scripts/ifcfg-eth0 B...