系统相关
首页 > 系统相关> > CentOS8.0安装Jenkins

CentOS8.0安装Jenkins

作者:互联网

1、安装 epel-release

yum -y install epel-release

2、安装 daemonize

yum -y install daemonize

3、安装JDK

yum install -y java-1.8.0-openjdk

4、下载安装Jenkins源

wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo
rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key

5、安装Jenkins

yum install -y jenkins

6、启动Jenkins服务

sudo service jenkins start

7、访问Jenkins:http://ip:8080

 

 8、获取解锁密码

cat /var/lib/jenkins/secrets/initialAdminPassword

 

 复制密码到页面输入框,点击继续

 

 9、创建登录账户

 

配置完成后界面

 

标签:io,CentOS8.0,yum,install,jenkins,Jenkins,安装
来源: https://www.cnblogs.com/xiaoguli/p/15528710.html