下载安装包jenkins.war;
在安装包根路径下,运行命令 java -jar jenkins.war --httpPort=8080,(linux环境、Windows环境都一样);
find -name "initialAdminPassword"查询到文件
./root/.jenkins/secrets/initialAdminPassword
cat /root/.jenkins/secrets/initialAdminPassword查询密钥:b19cd35d1a9343bba360399e412f9b4f
启动Jenkins:java -jar jenkins.war