How to install GitLab on Ubuntu 21.10 Beta

Published: 10 September 2021
on channel: Rui Wang
285
2

1. Remove apache2 because it serves stuff on your port 80. GitLab use that same port by default.
sudo apt purge apache2*
sudo autoremove

2. Install postgresql following official instructions. It already support Ubuntu 21.10.
https://www.postgresql.org/download/l...

3. (Optional) Install pgAdmin4
https://ftp.postgresql.org/pub/pgadmi...
Download both server and desktop. Install server first, then desktop.
sudo apt install ./pgadmin4......server
sudo apt install ./pgadmin4....desktop

4. Download GitLab
https://packages.gitlab.com/gitlab/gi...
(download button at upper right)

5. Install GItLab
sudo apt install ./gitlab...

6. Configure 'root' user

gitlab-rails console
find root user
user = User.where(id: 1).first
modify your password
user.password = 'secret_pass'
user.password_confirmation = 'secret_pass'
save your password
user.save!

7. Visit localhost:80 (80 is default port so can be omitted), enter user 'root', password (whatever you configured in step 6) to log in.


Watch video How to install GitLab on Ubuntu 21.10 Beta online without registration, duration hours minute second in high quality. This video was added by user Rui Wang 10 September 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 28 once and liked it people.