Optional (if you want to use Mailcow or an external SMTP server to send e-mails) :.In this case, just enter the desired port behind the URL (e.g. If a web server like Apache2 is already installed, then you have to choose a different port. Note: The default web server port 80 will be used. Replace " " with the URL, that you want to use to access the GitLab web interface. Install GitLab and other required packages with the following command: EXTERNAL_URL="" apt install gitlab-ee -y.
HOW TO INSTALL GITLAB ON LIUX UPDATE
Now update your package lists again with the command apt update.Add the repository needed to install GitLab by executing this command:įor Debian: echo "deb $(lsb_release -sc) main" > /etc/apt//gitlab.listįor Ubuntu: echo "deb $(lsb_release -sc) main" > /etc/apt//gitlab.list.Use the following command to add the key needed for the GitLab repository: curl -fsSL | gpg -dearmor -o /usr/share/keyrings/gitlab-archive-keyring.gpg.Add the repository needed to install GitLab:.If you want to use an external SMTP server (Gmail, Mailgun etc.) or Mailcow to send e-mails from GitLab, then skip this step and continue with step 10 of this tutorial after you've installed GitLab (SMTP configuration). However, if you want to install Postfix, use the command apt install postfix -y, select " internet site" during the installation and enter your domain as the " system e-mail name". Alternatively, you can also use Postfix, but Mailcow is recommended. for user account activations), then I recommend the Mailcow mail server. If you want to use your own mail server to send e-mails (e.g.
HOW TO INSTALL GITLAB ON LIUX UPGRADE
Now install any available updates of the packages already installed on your server using the command apt upgrade -y.Update your package lists with the command apt update.To do this, open PuTTY and enter the domain or IP address of your server in the text box named "Host Name (or IP address)". Connect to your root server or VPS/vServer via SSH using PuTTY.If you havn't already done so, download the program " PuTTY".
Are you looking for very good, powerful and cheap servers? I've been renting my servers at Contabo for 7 years now and I can highly recommend Contabo to everyone!