jenkins官网安装文档https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions
一、环境
系统 CentOS 6.4x64最小化安装
IP 192.168.3.38
二、安装
[root@jenkins ~] # wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo [root@jenkins ~] # rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key [root@jenkins ~] # yum install jenkins -y [root@jenkins ~] # yum install java -y [root@jenkins ~] # service jenkins start Starting Jenkins [ OK ] |