【Linux 软件】安装Jenkins

# 访问清华镜像库获取最新包 
# https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable
wget https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable/jenkins-2.303.3-1.1.noarch.rpm --no-check-certificate



# 安装 Java
yum -y install java-11-openjdk-devel

# 使用 yum 安装,一路绿灯过即可
yum -y install jenkins-2.303.3-1.1.noarch.rpm


# Jenkins安装报错时,Require daemonize
yum install  epel-release
yum install daemonize

# 修改端口
vim /etc/sysconfig/jenkins

# 运行
systemctl start jenkins.service

posted @ 2021-09-11 15:32  wosperry  阅读(73)  评论(0编辑  收藏  举报