GitLab is a web-based Git repository manager with wiki and issue tracking features, using an open source license, developed by GitLab Inc.
The software was written by Dmitriy Zaporozhets and Valery Sizov from Ukraine. The code is written in Ruby. Later, some parts have been rewritten in Go.

The GitLab Community Edition (CE) is fully free and open source software distributed under the MIT License.



  • A running Ubuntu Server 16.04 with a static IP address

Before the installation

sudo apt update
sudo apt upgrade
sudo apt install ca-certificates curl openssh-server postfix

Install GitLab

Download and run a script that adds the repository for GitLab to the system.

Install GitLab with APT:

sudo apt install gitlab-ce

Before you can use GitLab, you habe to execute an initial configuration command:

sudo gitlab-ctl reconfigure

Befor you can access GitLab, you must edit the firewall rules in order to allow the Web and SSH traffic.

sudo ufw enable
sudo ufw allow http
sudo ufw allow OpenSSH

Initial configuration trough the web interface

Register the first time

Enter the domain name or the IP of the GitLab Server in the web browser:

Now you see the initial display where you can set the administrator password:   Gitlab-01.png


Now set a password and then click on “Change your password”.

Now you are redirected to the usual GitLab login page:


Here you can log in with the user “root” and the password you just set.