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]
     
  • 相关阅读:
    Keepalived安装使用详解
    Django缓存使用方法
    Django常用命令及参数配置(Django 1.8.6)
    Python之Rpyc模块
    Hadoop:实战Web日志分析
    Hadoop:使用Mrjob框架编写MapReduce
    Hadoop:使用原生python编写MapReduce
    Hadoop安装
    LGOJP1850 换教室
    BZOJ4318: OSU!
  • 原文地址:https://www.cnblogs.com/rohens-hbg/p/5044751.html
Copyright © 2011-2022 走看看