GitLab shell/bash installer script for Ubuntu (really any Debian flavor)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

	 88   ,ad8888ba,  88         88                     88
	 ""  d8"'    `"8b ""   ,d    88                     88
	    d8'                88    88                     88
	 88 88            88 MM88MMM 88          ,adPPYYba, 88,dPPYba,
	 88 88      88888 88   88    88          ""     `Y8 88P'    "8a
	 88 Y8,        88 88   88    88          ,adPPPPP88 88       d8
	 88  Y8a.    .a88 88   88,   88          88,    ,88 88b,   ,a8"
	 88     Y88888P   88   "Y888 88888888888 `"8bbdP"Y8 8Y"Ybbd8"'

iGitLab - GitLab Ubuntu/Debian Installer Bash/Shell Script

Name says it all, use this script to install GitLab on any debian flavored server, check the script for configuration options.

Tested working on 6-2-stable, but should work on other versions and master as well. Change "master" below in wget to 6-2-stable if you want to use that branch.


chmod +x igitlab



Configuration Options

GitLab Release

Set this to whatever branch you want to use for the GitLab installation. Current tested working version is 6-2-stable, change to master for latest.


Unicorn or Puma

Version 5.1 through 5.9 uses Puma, whereas 6.0 will start using Unicorn again. Set this to 1 if you are installing a version that requires Unicorn instead of Puma.


Ruby Download URL

Set this to the URL to download Ruby source


MySQL Root Password

Set this to the root password for MySQL access. If MySQL is not setup yet on the server you will be prompted to set one up, and then enter it again for the script to use. You will probably only need to set this if you already have MySQL setup, or just enter it when script asks for it.


Apt Arguments

Set this to the arguments you want ran with apt when updating, and installing. Current default is set to "-qq" which assumes -y and supresses output from apt. Set to -y for standard output.

# -s = simulate
# -y = yes (no prompt)
# -q = quiet
# -qq = even more quiet (also implies -y, do not use with -s)

Apt Log Files

Set these to filenames you want to use for apt logs