gitlab modify the IP address and the address of the warehouse

The modified IP is 192.168.10.100 , operation method

1 . To modify the local IP address 
Vim / etc / sysconfig / Network-scripts / in ifcfg- eth0 
the TYPE = Ethernet
BOOTPROTO = static
NAME = eth0
the DEVICE = eth0
the ONBOOT Yes =
the IPADDR = 192.168.10.100
NETMASK = 255.255.255.0
the GATEWAY = 192.168. 10.1
systemctl the restart Network
2 . modifications gitlab.rb, the WEB page address # Vim / etc / gitlab / gitlab.rb external_url ' http://192.168.10.100 ' . 3 . gitlab warehouse address modification Vim / var / opt / gitlab / Rails-gitlab / etc / gitlab.yml gitlab: ## Web Server Settings (note: the FQDN of the Host at The IS, do not the include HTTP://) host: 192.168.10.100 port: 80 https: false …… email_from: gitlab@192.168.10.100 4. 重启gitlab gitlab-ctl restart

 

Guess you like

Origin www.cnblogs.com/cyleon/p/11119156.html