Skip to content

Instantly share code, notes, and snippets.

@AzDj
Created April 13, 2019 05:58
Show Gist options
  • Save AzDj/0055eb0cfe756ecf36d1e0ea96cbe29b to your computer and use it in GitHub Desktop.
Save AzDj/0055eb0cfe756ecf36d1e0ea96cbe29b to your computer and use it in GitHub Desktop.
azdj
安装rpm仓库
# For Debian/Ubuntu/Mint (Debian维护者添加了相似的包,所以需要使用则需要修改)
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | sudo bash
# For RHEL/CentOS/Fedora
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash
# For yum
#安装最新版本
yum install gitlab-runner
#安装指定版本
yum list gitlab-runner --showduplicates | sort -r
sudo yum install gitlab-runner-10.0.0-1
# For apt
#安装最新版本
apt-get install gitlab-runner
#安装指定版本
apt-cache madison gitlab-runner
sudo apt-get install gitlab-runner=10.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment