How to Install and Configure GitLab on CentOS 7

  • ntroduction
  • Features
  • Requirements
  • Installation
  • Conclusion

Introduction

GitLab is an open source code repository and collaborative development platform. It is developed on the basis of Git version control system. GitLab is one of the best web platforms for hosting project source codes. It exists in two forms. The first one is SAAS – website with open registration, and the second one is an individual solution GitLab Community Edition. They both can be perfectly customized to any service.

In this article, we will explain how to install and configure Gitlab on CentOS 7

Features of Gitlab

  • 3rd party integrations
  • Code review
  • Issue tracking
  • Bug tracking
  • Wiki space

Requirements

CPU : Minimum 2 cores recommended
Memory :Minumum 2GB recommended

Please have a look at the installation requirement documentation below :

https://docs.gitlab.com/ee/install/requirements.html

Installation

Dependency installation :

Install the dependencies using yum package manager :

# yum install curl policycoreutils-python openssh-server

Adding GitLab Repository

Add the GitLab package YUM repository to your system by running the script below :

# curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash

Package installation

Now, install the GitLab-CE package using following command and change the URL at which you want to access your GitLab instance from a web browser.

# EXTERNAL_URL="http://gitlab.centriohost.com" yum install -y gitlab-ce

You can also change the URL under the main configuration /etc/gitlab/gitlab.rb in the external_url section but make sure to “gitlab-ctl reconfigure” inorder to apply the recent changes.

# gitlab-ctl reconfigure

Initial Setup

Now, you can access your gitlab instance using your respective URL and reset the password in it. Then, you can access the Gitlab admin page using the username root.

A successful login should take you into the admin user account as shown in the screenshot. From, here, you can create an object, create a group, add people or configure your gitlab instance as you wish.

Conclusion

In this article, we have explained how to install and configure a Gitlab-CE on CentOS 7 or RHEL 7 Linux distributions. If you have any queries or need assistance you can contact us.

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

Sat Sun Mon Tue Wed Thu Fri
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Over 20000 Satisfied Customers!

From 24/7 support that acts as your extended team to incredibly fast website performance

Zelt staff were fantastic, I had a concern with a domain and they got back to me very quickly and they helped me to resolve the issue!

author
Technician, Diageo PLC

I'm using Zelt for my portfolio since 2006. The transition was seamless, the support was immediate, and everything works perfectly.

author
Photographer, Allister Freeman

Very easy to understand & use even though I am not very technologically minded. No complications whatsoever & I wouldn't hesitate to recommend it to all.

author
Actor, A&J Artists

Zelt support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Zelt have been amazingly responsive and helpful to any of my queries 👍👍👍

author
Technician, Diageo PLC

Anytime I've had a problem I can't solve, I've found Zelt to be diligent and persistent. They simply won't let an issue go until the client is happy.

author
Doctor, SmartClinics

Zelt support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Zelt have been amazingly responsive and helpful to any of my queries 👍👍👍

author
Freelancer, Fiverr

24/7 World-Class Support

Ran into trouble? Contact our Customer Success team any time via live chat or email.

  • Receive professional WordPress support
  • Our specialists are available round
Get Support