Installing GitLab Runner on Ubuntu and CentOS
1 min readMay 7, 2020
Step 1
Add the GitLab official repository to your servers package manager.
Debian/Ubuntu
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | sudo bash
RHEL/CentOS
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash
Step 2
Install the GitLab Runner service.
Debian/Ubuntu
sudo apt-get install gitlab-runner
RHEL/CentOS
sudo yum install gitlab-runner
Step 3
Test that the GitLab Runner is running
Debian/Ubuntu/RHEL/Centos
sudo service gitlab-runner status
Step 4
Now you can use your new GitLab Runner. See my article on setting up CI/CD for a full stack app with GitLab runner, at