Problem:
Need to install Gitlab Community Edition locally on Ubuntu 20.04 and access repository through 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
root
user:sudo cat /etc/gitlab/initial_root_password
- In UI set the administrative root password
- Login with
root
user and new password: - Set administrative account