Gitlab CE - CloudCommandos/JohnChan GitHub Wiki

Install prerequisites

sudo apt install ca-certificates curl openssh-server postfix

For Postfix installation, select "Internet Site".

Download the repository script

cd /tmp
curl -LO https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh

Run the script

sudo bash /tmp/script.deb.sh

Install Gitlab CE

sudo apt install gitlab-ce

Configure Gitlan

nano /etc/gitlab/gitlab.rb

Restart Gitlab

sudo gitlab-ctl reconfigure