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

    安装方法所在网址:   https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu

    在安装jenkins之前,ubutun上需要安装有jdk和jre。建议安装 openjdk-7-jre 和openjdk-7-jdk 版本 。

    安装:

    wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
    sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
    sudo apt-get update
    sudo apt-get install jenkins


    更新:
    sudo apt-get update
    sudo apt-get install jenkins

    安装完成后用浏览器 http://localhost:8080/    就可以打开。

    安装完成后将进程拉起:
    service jenkins start/stop/restart
    出现如下提示:
    Starting jenkins (via systemctl):  Job for jenkins.service failed. 
    See 'systemctl status jenkins.service' and 'journalctl -xn' for details. [FAILED]
    官网提示是因为没有安装java所导致。
    官网地址:
    https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions
    Note: if you get the following error message, ensure that Java has been installed:

    Starting jenkins (via systemctl):  Job for jenkins.service failed.
    See 'systemctl status jenkins.service' and 'journalctl -xn' for details.
                                                               [FAILED]
     
  • 相关阅读:
    Linux let 命令
    perl hash array 嵌套 push
    Perl CGI编程
    Perl关联数组用法集锦
    关于反射和动态代理
    SpringBoot与web开发
    Springboot与日志
    Spring Boot
    SpringBoot的自动配置原理
    Spring MVC执行流程
  • 原文地址:https://www.cnblogs.com/rohens-hbg/p/5044751.html
Copyright © 2011-2022 走看看