jenkins官网:https://pkg.jenkins.io/redhat-stable/
步骤:
1.sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo --no-check-certificate
2.sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
3.yum install fontconfig java-11-openjdk (安装JDK)
4.yum install jenkins
5.配置端口
vi
/etc/syscofig/jenkins
修改端口如下:
JENKINS_PORT=
"8888"
6.启动命令:systemctl start jenkins
标签:https,centos,redhat,pkg,io,stable,jenkins,安装
From: https://www.cnblogs.com/sansui/p/16804780.html