Install in Debian 9(Stretch)

GitLab default package is built for systemd not init.

If you install Postfix to send email please select 'Internet Site' during setup.

sudo aptitude install curl openssh-server ca-certificates postfix

Select and download the package manually and install using

curl -LJO

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100  302M  100  302M    0     0  3302k      0  0:01:33  0:01:33 --:--:-- 1882k
curl: Saved to filename 'gitlab-ce_8.14.4-ce.0_amd64.deb'

sudo dpkg -i gitlab-ce_8.14.4-ce.0_amd64.deb
sudo gitlab-ctl reconfigure
Running handlers:
Running handlers complete
Chef Client finished, 233/326 resources updated in 01 minutes 30 seconds
gitlab Reconfigured!

echo $?

Browse to the hostname and login

On your first visit, you'll be redirected to a password reset screen to provide the password for the initial administrator account. Enter your desired password and you'll be redirected back to the login screen.

The default account is root


Chi-Sheng Su