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"'
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.
wget https://raw.github.com/tripflex/igitlab/master/igitlab
chmod +x igitlab
./igitlab mygitdomain.com
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
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
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"
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=""
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"
Set these to filenames you want to use for apt logs
APTLOG=apt.log
APTERRLOG=apterror.log