
Clicking on Change your password after typing in the password, the page will be redirected back to the GitLab login screen. Upon browsing for the first time, a password reset screen will be shown from which a new password for the new admin account can be set up. Once GitLab has been reconfigured, it can be accessed through any browsers using the URL value that has been specified in the configuration file. Once the GitLab has been successfully reconfigured, an output similar to below will be displayed. Execute the below command to run the GitLab reconfiguration script. Make any further configuration changes as per requirement and once done, save and quit the file. In the below example, the server IP 123.123.123.123 has been used. Scroll down to the value external_url and set the URL on which GitLab can be accessed. Open the GitLab configuration file using any editor. One of the main configurations that need to be done is to set the URL on which GitLab will be reachable. The main configuration file for GitLab can be found under /etc/gitlab/gitlab.rb. Once the installation has been completed, GitLab can be configured according to one’s own working environment. Give execute permission to the downloaded script. Install the GitLab using the installation script.Ĭreate a folder GitLab and move into that directory: # mkdir GitLabĮxecute the below command to download the script. # apt install ca-certificates curl openssh-server Run update before proceeding with the installation. Save the file and execute the following command. # yum -y install curl vim policycoreutils python3-policycoreutilsĬreate a new repository file for GitLab. This guide outlines the general steps to install GitLab in different Linux distributions. It offers free private repositories for open source projects and also you can upload your repositories and make them public or private. GitLab is a complete DevOps platform to manage git repositories on a centralized server.
