$ yum install yum-fastestmirror -y #安装自动选择最快源的插件 #添加jenkins源: $ 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 $ yum install jenkins #安装jenkins 启动方式: $ sudo service jenkins start ############ 安装jenkins需要首先安装jdk(java) $ sudo yum install java
访问htpp://ip:8080