Book Image

GitLab Quick Start Guide

By : Adam O'Grady
Book Image

GitLab Quick Start Guide

By: Adam O'Grady

Overview of this book

Gitlab is an open source repository management and version control toolkit with an enterprise offering. This book is the ideal guide to GitLab as a version control system (VCS), issue management tool, and a continuous integration platform. The book starts with an introduction to GitLab, a walkthrough of its features, and explores concepts such as version control systems, continuous integration, and continuous deployment. It then takes you through the process of downloading and installing a local copy of the on-premise version of GitLab in Ubuntu and/or CentOS. You will look at some common work?ows associated with GitLab work?ow and learn about project management in GitLab. You will see tools and techniques for migrating your code base from various version control systems such as GitHub and SVN to GitLab. By the end of the book, you will be using Gitlab for repository management, and be able to migrate projects from other VCSs to GitLab.
Table of Contents (10 chapters)

Omnibus on CentOS/RHEL/Scientific Linux/Oracle Linux

To install GitLab using the omnibus package on a CentOS, Red Hat Enterprise Linux (RHEL), Scientific Linux, or Oracle Linux system, make sure that you have a server with a base that's compatible with CentOS 7.

First, you'll need to connect to a Terminal session and make sure that a few key packages are installed by running the following commands:

sudo yum install -y curl policycoreutils-python openssh-server

Now, you'll need to allow HTTP and SSH traffic through the local device firewall. This can be done by running the following code lines:

sudo systemctl enable sshd
sudo systemctl start sshd
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld

Next, you'll need to decide on whether you want to use Postfix to send notification emails or external SMTP provider. While the latter is...