Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Gitlab Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Gitlab Cookbook

Gitlab Cookbook

By : van Baarsen
3.3 (3)
close
close
Gitlab Cookbook

Gitlab Cookbook

3.3 (3)
By: van Baarsen

Overview of this book

This book is aimed at developers and devops that have a GitLab server running, and want to be sure they use it to its full potential. This book will also be useful for people looking for a great Git platform, and learn how to set it up successfully. Some system administrating experience on a UNIX-based system would be useful, but is not required.
Table of Contents (11 chapters)
close
close
10
Index

Updating an Omnibus installation


In this recipe, we will take a look at how you can update your GitLab installation when you install it via the Omnibus package. In this recipe, I'll make the assumption that you're using Ubuntu 12.04. You can use other Linux distributions; the steps for these can be found at about.gitlab.com.

How to do it…

Let's update the Omnibus installation with the following steps:

  1. Log in to your server via SSH.

  2. Stop the unicorn server:

    $ sudo gitlab-ctl stop unicorn
    
  3. Stop the background job server:

    $ sudo gitlab-ctl stop sidekiq
    
  4. Create a backup in case the upgrade fails:

    $ sudo gitlab-rake gitlab:backup:create
    
  5. Download the package from the GitLab website (https://about.gitlab.com/downloads/):

    $ wget https://downloads-packages.s3.amazonaws.com/ubuntu-12.04/gitlab_7.1.1-omnibus.1-1_amd64.deb
    
  6. Install the new package (change the x.x.x part to the correct version number from your download):

    sudo dpkg -i gitlab_x.x.x-omnibus.xxx.deb
    
  7. Reconfigure GitLab:

    sudo gitlab-ctl reconfigure...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Gitlab Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon