centos安装jenkins
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

浙公网安备 33010602011771号