zoukankan      html  css  js  c++  java
  • centos下安装jenkins

    1、去jenkins官网下载最新版本的rpm安装包,https://jenkins.io/index.html

        jenkins-2.7.4-1.1.noarch.rpm

    2、安装JDK

        yum install java-1.8.0-openjdk.x86_64

    3、安装jenkins

        rpm -ivh jenkins-2.7.4-1.1.noarch.rpm

    4、启动jenkins

        service jenkins start

    5、查看jenkins日志

        tail -f /var/log/jenkins/jenkins.log

    首次启动时会在日志中输出默认密码:


    *************************************************************
    *************************************************************
    *************************************************************

    Jenkins initial setup is required. An admin user has been created and a password generated.
    Please use the following password to proceed to installation:

    c9e349eb4ead4a99bb478fcc0af301ea

    This may also be found at: /var/lib/jenkins/secrets/initialAdminPassword

    *************************************************************
    *************************************************************
    *************************************************************

    6、在浏览器中打开:http://xx.xx.xx.xx:8080

    7、按照向导安装插件。国内可能安装不了,需要手工去下载插件:http://updates.jenkins-ci.org/download/plugins/

        先登录,然后点击:系统管理---插件管理—高级---找到”上传插件”

        上传插件时,如果失败,查看具体原因,一般都是依赖项不存在导致的,按照提示先把依赖的其他插件挨个安装好就行了。

    8、结束。

  • 相关阅读:
    sln、sdf、vcxproj、vcxproj.filter各是什么文件
    服务器开发——性能评估
    HOOK技术
    C++绘制箭头—原理和代码
    线程共享内容和独享内容
    字节多路通道、选择通道、数组多路通道
    操作系统中常见算法汇总
    LRU(最近最少使用)和LFU(最近最不常用)算法的区别
    移动端meta标签的使用和设置
    js和jq获取宽度和高度
  • 原文地址:https://www.cnblogs.com/lavezhang/p/6112074.html
Copyright © 2011-2022 走看看