Goal
Transfer a GitLab CE installation from one local server to another one.
Important
For the migration to work, the old and new GitLab CE servers need the identical GitLab version installed.
Backup
On the old server, a full backup can be created like this:
sudo gitlab-backup create
T...
Goal
This guide shows how to install GitLab CE on a Ubuntu 20.04 LTS for internal use. GitLab provides multple ways to install its software, but here the focus is on omnibus, which is in my opinion the easiest way to get started.
Add GitLab repository
Before we can start with the installation...
Preparation – Linux computer
First of all, a ssh key is required. Generate a key par with this command:
ssh-keygen -t rsa -b 4096 -C "user@codesie.ch"
The key pair should be located here:
~/.ssh/
Copy the content of the public key file: id_rsa.pub.
Configure gitlab
Login with your user...