To install GitLab using the omnibus package on an Ubuntu or Debian system, make sure that you have a server with one of the following versions installed on it:
- Ubuntu 14.04 LTS
- Ubuntu 16.04 LTS
- Ubuntu 18.04 LTS
- Debian 7
- Debian 8
- Debian 9
While the installation may work on other systems, it isn't guaranteed.
First, you'll need to connect to a Terminal session, update your package lists, and make sure that a few key packages are installed by running the following commands:
sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates
Next, you'll need to decide whether you want to use Postfix to send notification emails or an external SMTP provider. While the latter is recommended, if you do plan to use Postfix, you'll need to install it like so:
sudo apt-get install -y postfix
During the installation of Postfix, a...