How to install GitLab on Ubuntu 20

Published: 03 June 2021
on channel: LondonIAC / Dennis McCarthy / Automation Engineer
5,467
34

In this demo, I’ll take you through how to install GitLab on Ubuntu 20.04. so you can create your own LAB environment.

Subscribe To Me On YouTube: https://bit.ly/lon_sub

I’ll cover the following:

• Real-time demo of the installation process
• I’ll cover all the pre-requisites
• Once installed, I’ll log in and take a quick look around

My environment:

• Installing on a server built in AWS.
• T2.medium (2xcpu 4GB memory)
• AMI: i-0d4727b98152bc7da
• All commands will be added to the description of the video

Official Documentation:
https://about.gitlab.com/install/#ubuntu

Don’t forget to subscribe and let me know what you’d like me to cover.

----
COMMANDS:

sudo apt update -yq
sudo DEBIAN_FRONTEND=noninteractive apt upgrade -yq
sudo apt install curl openssh-server ca-certificates perl tzdata -yq
echo "postfix postfix/mailname string example.com" | sudo debconf-set-selections
echo "postfix postfix/main_mailer_type string 'Internet Site'" | sudo debconf-set-selections
sudo apt-get install -y postfix
curl https://packages.gitlab.com/install/r... | sudo bash
export IP=`curl -s http://169.254.169.254/latest/meta-data/public-ipv4`
echo $IP
sudo EXTERNAL_URL="http://"$IP apt-get install gitlab-ce


Watch video How to install GitLab on Ubuntu 20 online without registration, duration hours minute second in high quality. This video was added by user LondonIAC / Dennis McCarthy / Automation Engineer 03 June 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,46 once and liked it 3 people.