Debian 11 - Official Docs
Install dependencies
apt install -y curl openssh-server ca-certificates perl
Add the GitLab repo
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | bash
Install via apt. Specify the external URL as part of the install command.
sudo EXTERNAL_URL="https://gitlab.example.com" apt-get install gitlab-ee
GitLab should be running at this point. Navigate to the server in your browser and login.
A temporary password for the default root
user is stored in /etc/gitlab/initial_root_password
. Login with those credentials to setup GitLab.