https://download.csdn.net/download/myy2012/88668255
用xftp 上传
rmp -ivh jdk-8u181-linux-x64.rpm?
rmp -ivh jenkins-2.99-1.1.noarch.rpm
vim /etc/sysconfig/jenkins
JENKINS_USER="root"
JENKINS_PORT="8080"
systemctl start jenkins
?systemctl enable jenkins
[root@localhost opt]# cat /var/lib/jenkins/secrets/initialAdminPassword
3977149e99984392a811b5473d3fa3b6
目录:/var/lib/jenkins/plugins
systemctl restart jenkins
systemctl status jenkins