centos在线安装jenkins

1.访问jenkins官网:https://www.jenkins.io/

centos在线安装jenkins

 2.选择linux--centos:

centos在线安装jenkins

centos在线安装jenkins

 3.依次执行下列命令:执行过程可能会报错,重复执行几次;

wget -O /etc/yum.repos.d/jenkins.repo \
    https://pkg.jenkins.io/redhat-stable/jenkins.repo
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
yum upgrade
yum install epel-release java-11-openjdk-devel
yum install jenkins
systemctl daemon-reload

centos在线安装jenkins

 4.启动jenkins:

systemctl start jenkins

 5.浏览器访问jenkins:输入ip:8080即可

上一篇:智汀家庭云-开发指南Golang:架构概述


下一篇:go语言学习笔记 — 基础 — 基本数据类型 — 字符串(11):go中的字符串