Manutenção e Configuração de Software - Instalando o Git do lado do Servidor

Published: 02 October 2020
on channel: Edjalma Queiroz
101
6

cd Downloads
wget --content-disposition https://packages.gitlab.com/gitlab/gi...
Now, you will install the downloaded (.deb) package on Ubuntu 20.04 using the following command:

$ sudo dpkg -i gitlab-ce_13.2.1-ce.0_amd64.deb

Once you installed the gitlab package, you can execute the required configuration utility. This file provides automatic configurations, and you can modify it according to your need. Run the following edit of the gitlab configuration file.

$ sudo vim /etc/gitlab/gitlab.rb
Now, edit the configuration file to change hostname using external_url variable so that, you can access them from other remote machine using the specified hostname and other parameters:

Run the following command to reconfigure the services of gitlab:

$ sudo gitlab-ctl reconfigure

The above command will reconfigure all gitlab service. This process may take time to complete. So, be patient and wait for the completion of reconfiguration gitlab services.

Now, using the following command, you will start the gitlab services on your system.

$ sudo gitlab-ctl start








Via Script
sudo apt update

Now, using the following command, you will install the gitlab package dependencies.

sudo apt-get install -y curl openssh-server ca-certificates

curl https://packages.gitlab.com/install/r... | sudo bash

After successfully running the script, you can install the gitlab-ce package on Ubuntu 20.04 by using the following command:

sudo apt-get install gitlab-ce
sudo gitlab-ctl reconfigure
sudo gitlab-ctl start
sudo gitlab-ctl status


Watch video Manutenção e Configuração de Software - Instalando o Git do lado do Servidor online without registration, duration hours minute second in high quality. This video was added by user Edjalma Queiroz 02 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10 once and liked it people.