- 配置yum源:
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
- 導入rpm密鑰:
rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
- 安裝:
yum -y install jenkins java
- 啟動服務:
systemctl start jenkins
- 訪問網址:
xx.xx.xx.xx:8080 根據提示進行安裝