1. esc install jenkins

Yum install yum-fastestmirror $ - the y-# installation automatically selects the fastest source plug 
# source added 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 # install jenkins jenkins 
start way: 
$ sudo Service jenkins start 


#### ######## 
installation jenkins need to first install the JDK (the Java) 
$ sudo yum install the Java

Visit htpp: // ip: 8080

Guess you like

Origin www.cnblogs.com/wangrui38/p/11358054.html