Skip to content

GitLab shell/bash installer script for Ubuntu (really any Debian flavor)

License

Notifications You must be signed in to change notification settings

tripflex/igitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

	 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

http://smyl.es/igitlab-configurable-gitlab-multi-version-bashshell-installer-script-for-debian-ubuntu-linux-mint-etc/

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.

Installation

wget https://raw.github.com/tripflex/igitlab/master/igitlab
chmod +x igitlab

Usage

./igitlab mygitdomain.com

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.

gitlab_release=6-9-stable

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.

useunicorn=1

Ruby Download URL

Set this to the URL to download Ruby source

rubydlurl="ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz"

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.

mysqlpasswd=""

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)
aptget_arguments="-qq"

Apt Log Files

Set these to filenames you want to use for apt logs

APTLOG=apt.log
APTERRLOG=apterror.log

About

GitLab shell/bash installer script for Ubuntu (really any Debian flavor)

Resources

License

Stars

Watchers

Forks

Packages

No packages published