wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
to get the installation source
rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
import public key
yum install jenkins
install Jenkins
press Y to confirm
vim /etc/sysconfig/jenkins
Modify the port number 8080 to 9090
JENKINS_PORT="9090"
firewall-cmd --zone=public --permanent --add-port=9090/tcp
firewall-cmd --reload
open firewall port 9090
service jenkins start
chkconfig jenkins on
启动Jenkins
Visit http://192.168.1.13:9090/