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

    简介

    Jenkins是一个开源软件项目,是基于Java开发的一种持续集成工具,用于监控持续重复的工作,旨在提供一个开放易用的软件平台,使软件的持续集成变成可能。

    1.yum安装(不推荐)

    安装依赖
    yum install java-1.8.0-openjdk java-1.8.0-openjdk-devel
    安装yum源
    wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins.io/redhat-stable/jenkins.repo
    rpm --import http://pkg.jenkins.io/redhat/jenkins.io.key
    or
    rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
    安装Jenkins 
    yum –y install Jenkins
    systemctl start jenkins
    systemctl enable jenkins

    2.RPM安装

    2.1下载地址

      https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable/

    2.2安装JDK

     rpm -ivh jdk-8u121-linux-x64.rpm

    2.3安装jenkins

    [root@node1 ~]# rpm -ivh jenkins-2.99-1.1.noarch.rpm
    [root@node1 ~]# systemctl start jenkins
    [root@node1 ~]# systemctl status jenkins

    2.4Jenkins WEB配置

    浏览器中访问:http://你服务器的ip:8080,出现如下图所示界面,根据提示在命令行上复制密码,然后下一步

     

    然后配置系统管理的用户名和密码:用户统一使用root,密码自行设置,必须要窂记,忘记很麻烦。

    jenkins安装完成,选择开始使用jenkins

     

    进入jenkins界面

     

  • 相关阅读:
    Windows环境下消息中间件RabbitMq的搭建与应用
    6.异常释放锁的情况
    5.synchronized锁重入
    4.脏读
    3.多线程(同步、异步)
    2.多线程(同步类级别锁)
    1.多线程同步
    24.Semaphore
    23.读写锁ReadWriteLock
    22.线程通信Condition
  • 原文地址:https://www.cnblogs.com/zdqc/p/9663371.html
Copyright © 2011-2022 走看看