# 安装步骤
//配置java环境 sudo yum search jdk
sudo yum install java-1.8.0-openjdk
//下载 jenkins wget https://pkg.jenkins.io/redhat-stable/jenkins-2.164.2-1.1.noarch.rpm
//解压 rpm -ivh jenkins-2.7.3-1.1.noarch.rpm
//在这里可以看到 jenkins默认端口号 vi /etc/sysconfig/jenkins
service jenkins start/stop/restart
//查看密码路径 /var/lib/jenkins/secrets/initialAdminPassword
# 配置
//查看状态 systemctl status jenkins