Jenkins on CentOS

From DTO Labs Knowledge Base
Jump to: navigation, search

Here's how to get a basic Jenkins installation up and running quickly on CentOS.

Setup

[root@ip-10-176-57-29 ~]# wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
.
.
.
2011-09-21 18:36:48 (6.04 MB/s) - `/etc/yum.repos.d/jenkins.repo' saved [76/76]
[root@ip-10-176-57-29 ~]# rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
[root@ip-10-176-57-29 ~]# yum -y install jenkins
.
.
.

Installed:
  jenkins.noarch 0:1.431-1.1                                                                                                                                       

Complete!
[root@ip-10-176-57-29 ~]# chkconfig --level 2345 jenkins on
[root@ip-10-176-57-29 ~]# chkconfig --list jenkins
jenkins         0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@ip-10-176-57-29 ~]# service jenkins start
Starting Jenkins                                           [  OK  ]

Test

References

  1. Installing Jenkins on RedHat distributions
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
Print/export