How to install local Gitlab CE on Ubuntu 20.04

Hey, I'm a postgraduate in Cyber Security with practical experience in Software Engineering and DevOps Operations. The top player on TryHackMe platform, multilingual speaker (Kazakh, Russian, English, Spanish, and Turkish), curios person, bookworm, geek, sports lover, and just a good guy to speak with!
Problem:
Need to install Gitlab Community Edition locally on Ubuntu 20.04 and access repository through http://localhost:80
Gitlab installation:
- Update repos:
sudo apt-get update - Install required packages:
sudo apt-get install -y curl openssh-server ca-certificates - Download and install Gitlab community edition:
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash - Set URL to access Gitlab:
sudo EXTERNAL_URL=http://localhost:80/ apt-get install gitlab-ce - To get temporary sign in password for
rootuser:sudo cat /etc/gitlab/initial_root_password - In UI set the administrative root password
- Login with
rootuser and new password:
- Set administrative account





