Linux Jenkins Official installation method

Source: Internet
Author: User


Today, when installing Jenkins, it is normal for Jenkins to start up, but there is no port formation and there may not be a match for the version requirements of the environment, resulting in a simple installation failure.

[email protected] ~]# NETSTAT-TNLP |grep 8080 without any output
[[email protected] ~]#/etc/init.d/jenkins stop
Shutting Downjenkins [FAILED]

So when installing the software, try to install the official.

Jenkins.io official website, today take the RPM format method of CentOS installation.


http://pkg.jenkins-ci.org/redhat/This is a download point for many versions of RPM format.

Installation of a stable version

There is also ALTs YUM repository for the LTS Release Line

    • sudo wget-o/etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo

    • sudo rpm--import https://jenkins-ci.org/redhat/jenkins-ci.org.key

    • sudo yum install Jenkins

Important Note on CentOS Java

Java-version
Java version "1.5.0" gij (GNU libgcj) version 4.4.6 20110731 (Red hat4.4.6-3)

Yum Remove Java move out of the old version

Yum Install JAVA-1.8.0-OPENJDK

This will start normally. The JDK version is more than 1.8. http://172.17.0.17:8080/



Linux Jenkins Official installation method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.