You want to do deploy (install and configure) GitLab on a Debian Linux server. What do you do?
1. Get a Debian or Ubuntu Linux server with either 3.5 GB of RAM or at least 1.5 GB of RAM and 2 GB of virtual memory. If you need to resize an AWS instance, see this posting. If you need to resize a GCP instance, see this posting. If you need directions for creating virtual memory (aka swap space), see this posting.
2. Run these commands from the backend of the Linux server:
sudo apt-get -y update
sudo apt-get install -y curl openssh-server ca-certificates
sudo apt-get install -y postfix
# Choose "Ok" to the first prompt you see (your only option).
# Select the "Internet Site" option
# Accept the default options continually by pressing Enter to each one. In some cases there will be only one option anyway.
3. Run this command:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
4. Run a modified version of command. Substitute x.x.x.x with the external IP address of your server or the URL you want to access via a web browser when the process is finished, append ":yyyy", with no quotes, to the "x.x.x.x" where yyyy is the non-default port you want GitLab to operate on:
sudo EXTERNAL_URL="http://x.x.x.x:yyyy" apt-get install gitlab-ee
5. Go to the web UI. You will be prompted to create a new password. Remember this password.
6. Log into the web UI. For the user, use "root" with no quotes. Use the password you entered in the step above.