GitLab Setup

Things to remember while installing Git Lab: 

1. Git Lab uses FQDN during configuration to enable its use in the browser.

2. Find the fully qualified Domain name (FQDN) of the host.

#hostname -f

3. Ensure this FQDN entry is present in the /etc/hosts file

#cat /etc/hosts

127.0.0.1 localhost
xxx.xx.xx.xxx ip-xxx.xx.xx.xxx.ec2.internal

# The following lines are required for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

4. After making an entry in /etc/hosts file, run the following -

#gitlab-ctl reconfigure