Introduction

GitLab is a web-based Git repository that provides free open and private repositories, issue-following capabilities, and wikis. It is a complete DevOps platform that enables professionals to perform all the tasks in a project—from project planning and source code management to monitoring and security

Prerequisites

  1. A sudo privileged user to SSH the server
  2. Gitlab credential to verify the functionality

Implementation

Step 1: SSH to the server where the Gitlab has been installed

$ ssh user@IP

Step 2: Update the available packages

$ sudo apt-get update

Step 3: Update the Gitlab to the latest version

(I) If the edition is Community Edition (CE) execute the below command

$ sudo apt-get install gitlab-ce

(II) If the edition is Enterprise Edition (EE) execute the below command

$ sudo apt-get install gitlab-ee

Step 4: Restart the Gitlab

$ sudo gitlab-ctl restart

Step 5: Log in to the Gitlab and navigate to the help to verify the version

Leave a Reply