

Set a strong password for this account.Īfter changing the password, your browser redirects to the login page. The Gitlab default username is “root”, have the administrator privileges. Open a web browser and access your domain:ĭuring the first time, Gitlab will prompt you to set a new password for the default user. Next, run the following command to implement the changes: Step 4 – Access Gitlab Dashboard #Īccess the Gitlab dashboard using the domain name configured in the Gitlab configuration file. The firewalld users can use the following commands to open required ports on their system. If your system running a firewall, make sure to open 80, 443 ports. In the end, you will see the message “gitlab Reconfigured!” on your screen.

This will take some time to complete the installation. Now, run the reconfigure command to apply changes to the Gitlab server. The nano user can use shotcut CTRL + o to save content and then CTRL + x to exit from editor. The vim editor user use ESC + :wq to save and exit file. To enable the let’s encrypt SSL, edit the following values in the configuration file. The Gitlab also provides native support for configuring let’s encrypt SSL certificates. Step 2 – Configuring Gitlab #Įdit the Gitlab configuration file /etc/gitlab/gitlab.rb and update the external url to a valid domain or subdomain name to use for accessing Gitlab. This will install all the required services like Nginx, PostgreSQL, Redis, etc.

This command will take some time to complete the Gitlab installation on Ubuntu. Next is to install Gitlab on Ubuntu system using apt command: The above command will create apt configuration file (/etc/apt//gitlab_gitlab-ce.list) in your system. Open a terminal and execute following command: As well as install some required dependencies to your system. The Gitlab official team provides a shell script to configure Apt repository on your system. Step 1 – Install Gitlab on Ubuntu 20.04 # Then upgrade the current packages to the latest version.Īlso, install some required packages for installing Gitlab on Ubuntu systems.

Login to your Ubuntu 20.04 system with sudo privileged account. You are going to install Gitlab community edition using this tutorial. This tutorial will help you to install Gitlab on Ubuntu 20.04 LTS Linux system. The enterprise edition provides more features but required a paid license. It provides a large number of features required for small to large-scale companies. The Community edition of Gitlab is available free for use in the development and production environment.
