yum 安装 jenkins

  1. 配置yum源:
    wget  -O  /etc/yum.repos.d/jenkins.repo  http://pkg.jenkins-ci.org/redhat/jenkins.repo
  2. 导入rpm密钥:
    rpm  --import  https://jenkins-ci.org/redhat/jenkins-ci.org.key
  3. 安装:
    yum  -y  install  jenkins  java
  4. 启动服务:
    systemctl  start  jenkins
  5. 访问网址:
    xx.xx.xx.xx:8080
    根据提示进行安装
posted @ 2019-06-26 16:01  ruanqin  阅读(2862)  评论(0编辑  收藏  举报