Jenkins installs the following steps:
Command: Yum-y list java*
Yum-y Install java-1.7.0-openjdk.x86_64 --------Build the JDK environment
Java
wget Http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo-O/etc/yum.repos.d/ Epel-apache-maven.repo
wget http://pkg.jenkins-ci.org/redhat-stable/jenkins-2.7.3-1.1.noarch.rpm
Yum-y Install Apache-maven
Ls
RPM-IVH jenkins-2.7.3-1.1.noarch.rpm
vim/etc/sysconfig/jenkins and nbsp , &NB Sp , &NB Sp --------Modify profile with default port of 8080, no need to modify if not conflicting & nbsp , &NB Sp  
Service Jenkins Restart ----------Start the Jenkins service
Vim/var/lib/jenkins/secrets/initialadminpassword ----------View the Jenkins password and copy it
Next start the port service in the browser, enter the Jenkins password to download the relevant software package
Install Jenkins under CentOS easy to fix