GitLab is an online Git repository manager with a wiki, issue tracking, CI and CD. It is a great way to manage git repositories on a centralized server. GitLab gives you complete control over your repositories or projects and allows you to decide whether they are public or private for free.

Before going to start we need to ensure that;

  • We have configured IP as static IP Address
  • We have configured DNS to resolve GITLab IP as required name on network


Here we are going to setup GITLAB Server on our own server based on Ubuntu Machine.

Install and configure the necessary dependencies

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

Please select InternetSite during setup of Postfix mail server.

Add the GitLab package server and install the package

curl -sS | sudo bash

sudo apt-get install gitlab-ce

Configure and start GitLab

sudo gitlab-ctl reconfigure

It will take few minutes to configure required packages, after finishing this process now you need to open your web browser and add your machine ip or domain name       or

Please use root user and add your new Password in this screen and enjoy your own GITLAB environment.



Recommended For You.

Featured Video Play Icon
Canonical Livepatch Service Apply critical kernel patches without rebooting