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]
     
  • 相关阅读:
    内存管理工具
    c语言目录操作总结
    重写strstr、strcpy、memcpy、memset、atof算法
    统计编码量工具
    hdu4348
    bzoj4358: permu
    bzoj2658: [Zjoi2012]小蓝的好友(mrx)
    bzoj2657: [Zjoi2012]旅游(journey)
    bzoj3583: 杰杰的女性朋友
    bzoj3673 bzoj3674可持久化并查集
  • 原文地址:https://www.cnblogs.com/rohens-hbg/p/5044751.html
Copyright © 2011-2022 走看看