银河麒麟服务器v10 sp2安装jenkins

1. 通过官网下载安装包

银河麒麟服务器v10 sp2安装jenkins_第1张图片

或者添加yum源安装

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

 2. 安装Jenkins

rpm -ivh jenkins-2.332.2-1.1.noarch.rpm

或者

yum install fontconfig java-11-openjdk
yum install jenkins
  

3. 启动服务,关闭防火墙

/usr/lib/jvm/java-11-openjdk-11.0.9.11-4.ky10.x86_64/bin/java -jar /usr/share/java/jenkins.war --httpPort=8080

systemctl stop firewalld

4. 通过ip+端口访问

http://192.168.150.129:8080

银河麒麟服务器v10 sp2安装jenkins_第2张图片

你可能感兴趣的:(jenkins,运维)