Centos Command mode Download Jenkins

Source: Internet
Author: User

Reference official website: http://pkg.jenkins-ci.org/redhat-stable/

Wget-o/etc/yum.repos.d/jenkins.repo Http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo

RPM--import Http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key

Yum Install Jenkins

Modify Port:

Vi/etc/sysconfig/jenkins

Modify:

jenkins_port= "9999"

Start the service:

Service Jenkins Start

Error:

Starting Jenkins (via Systemctl): Job for Jenkins.service failed. See ' systemctl status Jenkins.service ' and ' journalctl-xn ' for details.

Modify:

Vi/etc/init.d/jenkins

Found it:

# See http://www.nabble.com/guinea-pigs-wanted-----hudson-rpm-for-redhat-linux-td25673707.html

Add Java below:

/mnt/soft/apache-tomcat-7.0.69/bin/java

Centos Command mode Download 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.