下記の手順に従う
https://about.gitlab.com/downloads/
CentOS 7の場合
curl -O https://downloads-packages.s3.amazonaws.com/centos-7.0.1406/gitlab-7.4.3_omnibus.5.1.0.ci-1.el7.x86_64.rpm
sudo yum install openssh-server
sudo systemctl enable sshd
sudo systemctl start sshd
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
sudo rpm -i gitlab-7.4.3_omnibus.5.1.0.ci-1.el7.x86_64.rpm
# Check and change the external_url to the address your users will type in their browser
external_url 'ip-XXX-XXX-XXX-XXX.ap-southeast-1.compute.internal'
# Check and change the external_url to the address your users will type in their browser
external_url 'https://example.com'
nginx['redirect_http_to_https'] = true
nginx['listen_addresses'] = ["0.0.0.0", "[::]"] # listen on all IPv4 and IPv6 addresses
証明書を配置
sudo mkdir -p /etc/gitlab/ssl
sudo chmod 700 /etc/gitlab/ssl
sudo cp example.com.key example.com.crt /etc/gitlab/ssl/
sudo gitlab-ctl reconfigure