Amazon Linux Instance
Check required dependencies
systemctl status postfix
If not in active please follow below steps:
- First, start by installing the following necessary dependencies using the yum package manager as shown
yum install curl policycoreutils-python openssh-server
- Install Postfix service to send notification emails, and enable it to start at system boot, then check if it is up and running using following commands.
yum install postfix
systemctl start postfix
systemctl enable postfix
systemctl status postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
EXTERNAL_URL="http://54.144.17.106" yum install -y gitlab-ce
If you want to change your main URL, you can configure it in the GitLab main configuration file /etc/gitlab/gitlab.rb in the external_url section. Once changed, don’t forget to reconfigure gitlab to apply the recent changes in the configuration file using the following command.
gitlab-ctl reconfigure
Open portnumber 80 in security group and check in WebUI
http://54.144.17.106/
On your first visit, you’ll be redirected to a password reset screen, create a new password for your new admin account and click “Change your password”. Once you set, it will be redirected back to the login screen and login with username root and the password you set.