标签:
1.添加仓库:
sudo wget -O /etc/yum.repos.d/jenkins.repo http://jenkins-ci.org/redhat/jenkins.repo
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
2.安装:
yum install jenkins
3.启动:
service jenkins start
备注:当然前提是java环境已经配置好了:
yum install java-1.6.0-openjdk
参考:
https://www.safaribooksonline.com/library/view/jenkins-the-definitive/9781449311155/ch03s06.html
标签:
原文地址:http://www.cnblogs.com/super-d2/p/4734318.html