Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Gitlab Cookbook

You're reading from   Gitlab Cookbook Over 60 hands-on recipes to efficiently self-host your own Git repository using GitLab

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781783986842
Length 172 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Jeroen van Baarsen Jeroen van Baarsen
Author Profile Icon Jeroen van Baarsen
Jeroen van Baarsen
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction and Installation 2. Explaining Git FREE CHAPTER 3. Managing Users, Groups, and Permissions 4. Issue Tracker and Wiki 5. Maintaining Your GitLab Instance 6. Webhooks, External Services, and the API 7. Using LDAP and OmniAuth Providers 8. GitLab CI A. Tips and Tricks Index

Installing the dependencies


Before you can install GitLab CI, we need to have some dependencies in place. These dependencies ensure GitLab CI runs smoothly later on in the process. We will install the following dependencies:

  • System packages

  • The Redis server

  • Ruby

  • PostgreSQL

How to do it…

Let's install the dependencies:

  1. Log in via SSH to your GitLab server.

  2. Let's ensure that our system is up to date using the following command:

    $ sudo apt-get update && sudo apt-get upgrade
    
  3. Install the required packages:

    $ sudo apt-get install wget curl gcc checkinstall libxml2-dev
    $ sudo apt-get install libxslt-dev libcurl4-openssl-dev 
    $ sudo apt-get install libreadline6-dev libc6-dev libssl-dev 
    $ sudo apt-get install libmysql++-dev make build-essential zlib1g-dev 
    $ sudo apt-get install openssh-server git-core libyaml-dev 
    $ sudo apt-get install redis-server postfix libpq-dev libicu-dev
    
  4. Next, we need to install Ruby using the following commands:

    $ mkdir /tmp/ruby && cd /tmp/ruby
    $ curl --progress...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime