CentOS 6.5 Installation Jenkins

Source: Internet
Author: User

Installation

    • sudo wget-o/etc/yum.repos.d/jenkins.repo Http://pkg.jenkins-ci.org/redhat/jenkins.repo
    • sudo rpm--import Http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
    • sudo yum install Jenkins
Start/stop
    • sudo service Jenkins Start/stop/restart

Note that you may have to install Java, or you cannot start Jenkins.

Install Java:

Yum list jdk, then yum install xxx, xxx may look like java-1.6.0-openjdk.x86_64

After you install Java, you may experience the following problems.

The/tmp directory is mounted with the NOEXEC option:

Jenkins failed to start,Java.lang.unsatisfiedlinkerror failed to map segment from shared object operation not permitted

The reason for the failure is that/tmp directory is mounted with the NOEXEC option

The solution is, removing the noexec option from Our/tmp in Our/etc/fstab and remounting it

Specifically, (to use root identity) first Vi/etc/fstab, the/ TMP mount point option in the noexec to exec, and then reboot, and then sudo service Jenkins start can be /c8>

Don't forget the firewall settings

Display http://IP:8080 in the browser

Reference http://blog.csdn.net/yasi_xi/article/details/8593520

CentOS 6.5 Installation Jenkins

Related Article

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.