Gitlab Installation on Ubuntu (14.04, 16.04, 18.04 Version)

Gitlab Installation on Ubuntu (14.04, 16.04, 18.04 Version)

Tudip

27 February 2019

Gitlab Versions:

GitLab is the Web UI or an interface for Git. Gitlab has two versions: Community Edition and Enterprise Edition. GitLab Community Edition is an open source having a MIT Expat license and GitLab Enterprise Edition is built on the top of Community Edition. It uses the same core, but it adds additional features and functionality which enhances that. This is a proprietary license. We are currently using the Gitlab Community edition. So, the Gitlab installation on Ubuntu in this document is for the Gitlab Community edition only.

Procedure to install Gitlab on Ubuntu (14.04, 16.04, 18.04 version):

  1. Install Gitlab dependencies:
    sudo apt-get install -y curl openssh-server ca-certificates
  2. Add the GitLab package repository:
    curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
  3. Install the Gitlab package:
    apt-get install gitlab-ce
  4. Access the Gitlab UI: Now you can access GitLab through the IP address of the server on which you install Gitlab
  5. Access Gitlab via domain name: Edit GitLab config file (/etc/gitlab/gitlab.rb) and add the domain name (e.g git.tudip.com) at external_url configuration line.

Read here: How to migrate GitLab from an old server to a new server?

 

search

Blog Categories

Request a quote