HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


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.hostseo.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

SatSunMonTueWedThuFri
 1
2345678
9101112131415
16171819202122
23242526272829
3031 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional