Jenkins安装(一)
官网中文版:https://www.jenkins.io/zh/
Centos安装页面:https://pkg.jenkins.io/redhat-stable/
下载yum源
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
安装jenkins
yum install jenkins
安装jdk
yum search java | grep -i --color jdk
选择11版本
yum install java-11-openjdk-devel
启动jenkins
systemctl start jenkins
systemctl enable jenkins
访问
http://ip:8080