Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add debian/ubuntu igitlab installer #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions install/debian/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
iii GGGG iii tt LL bb
GG GG tt LL aa aa bb
iii GG iii tttt LL aa aaa bbbbbb
iii GG GG iii tt LL aa aaa bb bb
iii GGGGGG iii tttt LLLLLLL aaa aa bbbbbb

# 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-1-stable, but should work on other versions and master as well. Change "master" below in wget to 6-1-stable if you want to use that branch.

## Installation
``` bash
wget https://raw.github.com/tripflex/igitlab/master/igitlab
chmod +x igitlab
```

## Usage
``` bash
./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-1-stable, change to master for latest.
``` bash
gitlab_release=6-1-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.
``` bash
useunicorn=1
```

### Ruby Download URL
Set this to the URL to download Ruby source
``` bash
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.
``` bash
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.
``` bash
# -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
``` bash
APTLOG=apt.log
APTERRLOG=apterror.log
```
Loading