wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.reporpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.keyyum -y install jenkins javasystemctl start jenkinsxx.xx.xx.xx:8080
根据提示进行安装

原文:http://blog.51cto.com/12173069/2330265