I have the Gitlab CE running on one of the Virtual Machines. The VM is hosted on my Proxmox VE system. The Gitlab CE is installed in Omnibus (Linux Package) method.

Gitlab install requirements

The minimum requirements from the Gitlab official docs.

  • Storage:  Omnibus Gitlab package requires about 2.5GB of storage space for installation. I suggest at least 50GB if you don’t have a lot of repositories.
  • CPU: 4 cores is the recommended minimum number of cores and supports up to 500 users.
  • Memory: 4GB RAM is the required minimum memory size and supports up to 500 users.
  • Database: PostgreSQL is the only supported database, which is bundled with the Omnibus Gitlab package.

The VM basic information is as below:

VM basic information for Gitlab

 

 

Based on the minimum requirements, I am the only user for this Gitlab installation. So I chose 4 Cores, 4GB Ram, and 64 GB storage.

Look at the Webmin dashboard of this VM. The resources are OK.

Gitlab VM, Webmin Dashboard

 

Oh, I forget the domain setup. I pointed the sub-domain, or hostname, gitlab.g2soft.net to the Lan IP address, 192.168.100.182.  So I can use the sub-domain to access the gitlab installation. And it is only be access inside of the LAN.

I am also get the one-year free SSL certificate at AlibabaCloud platform.

Now the VM is Ubuntu 22.04 LTS. Please be noticed that it is upgraded from Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04.  The Gitlab installation is on this VM from the very beginning.  But the hardware which runs the host, Proxmox was changed from time to time. Including Dell R710, PC Server, etc.

Installation Method

The official installation method of Omnibus Gitlab

 

Gitlab System and versions

Check the information on Gitlab in the Ubuntu SSH window.

davidyin@gitlab:~$ sudo gitlab-rake gitlab:env:info

System information
System: Ubuntu 22.04
Current User: git
Using RVM: no
Ruby Version: 3.0.6p216
Gem Version: 3.2.33
Bundler Version:2.3.15
Rake Version: 13.0.6
Redis Version: 6.2.11
Sidekiq Version:6.5.7
Go Version: unknown

GitLab information
Version: 15.11.4
Revision: f07ef899392
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 13.8
URL: https://gitlab.g2soft.net
HTTP Clone URL: https://gitlab.g2soft.net/some-group/some-project.git
SSH Clone URL: git@gitlab.g2soft.net:some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers:

GitLab Shell
Version: 14.18.0
Repository storages:
- default: unix:/var/opt/gitlab/gitaly/gitaly.socket
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell

Sign in https://gitlab.g2soft.net with a root account. See the Dashboard of the Admin Area.

 

Dashboard of Admin Area, Gitlab 15

Now, 22 projects, have 2 users, One is the root of Administrator, and the other one is my regular use of coding.

It is almost four years since I started to use Gitlab. I am still very comfortable recommending it to anyone who wants to host their own codes at Homelab.

My Gitlab installation is version 15.11.4. I am looking forward to seeing the next big release Gitlab 16.0. It may be released on 22nd May.

 

 

David Yin

David is a blogger, geek, and web developer — founder of FreeInOutBoard.com. If you like his post, you can say thank you here

Leave a Reply

Your email address will not be published. Required fields are marked *