github.com/ssube/gitlab-ci-multi-runner@v1.2.1-0.20160607142738-b8d1285632e6/docs/install/linux-repository.md (about) 1 ### Install using official GitLab repositories 2 3 Currently we support Debian, Ubuntu and CentOS. 4 5 If you want to use Docker runner, install it before using the multi runner: 6 7 ```bash 8 curl -sSL https://get.docker.com/ | sh 9 ``` 10 11 Add GitLab's official repository via apt-get or yum: 12 13 ```bash 14 # For Debian/Ubuntu 15 curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb.sh | sudo bash 16 17 # For CentOS 18 curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.rpm.sh | sudo bash 19 ``` 20 21 Install `gitlab-ci-multi-runner`: 22 23 ```bash 24 # For Debian/Ubuntu 25 sudo apt-get install gitlab-ci-multi-runner 26 27 # For CentOS 28 sudo yum install gitlab-ci-multi-runner 29 ``` 30 31 Register the runner: 32 33 ```bash 34 sudo gitlab-ci-multi-runner register 35 36 Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/ci ) 37 https://gitlab.com/ci 38 Please enter the gitlab-ci token for this runner 39 xxx 40 Please enter the gitlab-ci description for this runner 41 my-runner 42 INFO[0034] fcf5c619 Registering runner... succeeded 43 Please enter the executor: shell, docker, docker-ssh, ssh? 44 docker 45 Please enter the Docker image (eg. ruby:2.1): 46 ruby:2.1 47 INFO[0037] Runner registered successfully. Feel free to start it, but if it's 48 running already the config should be automatically reloaded! 49 ``` 50 51 The runner should be started already and you are ready to build your projects! 52 53 Make sure that you read the [FAQ](../faq/README.md) section which describes 54 some of the most common problems with GitLab Runner. 55 56 ### Update 57 58 Simply execute to install latest version: 59 60 ```bash 61 # For Debian/Ubuntu 62 sudo apt-get update 63 sudo apt-get install gitlab-ci-multi-runner 64 65 # For CentOS 66 sudo yum update 67 sudo yum install gitlab-ci-multi-runner 68 ```