GitLab CE (Community Edition) is a tool that is used in team development. To fully utilize GitLab, you need to:
prepare the server and check the technical settings;
install the necessary dependencies;
roll up GitLab and set the necessary settings.
For the development tool to function correctly, you need a machine with at least a 2-core processor and 8 GB memory.
You can use either a physical or virtual machine on which you have rolled Ubuntu 20.04.
Download the packages from the official repository. To install, we use a standard set of commands:
sudo apt update
sudo apt install ca-certificates curl openssh-server postfix
When you have rolled up the packages with the latest updates, it remains to install GitLab CE on a local or virtual machine on Ubuntu 20.04.
To get started, you need to download the script. To do this, navigate to the /tmp directory (classic cd /tmp command) and execute the command:
curl -LO https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh
Note that this is a standard package, and not all of its settings are needed on the project. Therefore, it is better to familiarize yourself with the contents in more detail before starting.
To run the script and prepare the machine, use the command:
sudo bash /tmp/script.deb.sh
To put the Gitlab application on a local or virtual machine, run the command:
sudo apt install gitlab-ce
Done! Gitlab's collaborative development tool is installed. All that remains is to configure it and use it.