kielin 2011-12-13
Hudson/JenkinsInstallationonRedhat4
1.checkthesystemversionfirst
>cat/proc/version
Linuxversion2.6.18-128.el5([email protected])
(gccversion4.1.220080704(RedHat4.1.2-44))
#1SMPWedDec1711:41:38EST2008
2.downloadthesoftware
>wgethttp://pkg.jenkins-ci.org/redhat/RPMS/noarch/jenkins-1.443-1.1.noarch.rpm
Installthisonlinux
>sudorpm-ivhjenkins-1.443-1.1.noarch.rpm
Thecommandsofthesoftware
>sudo/etc/init.d/jenkinsstatus
>sudo/etc/init.d/jenkinsstart
Thelogfilewillbe/var/log/jenkins/jenkins.log.
Theconfigurationfilewillbe/etc/sysconfig/jenkins,wecanchangetheportandotherthings.
Visitthepage:
http://localhost:8080/
3.Configuretheprojectwithmavenandant
Thetimeschedulewillbe*/30****
references:
http://java.net/projects/hudson/downloads/directory/Redhat
http://laoding.me/2010/09/install-hudson-on-redhat.html
http://hi.baidu.com/luohuazju/blog/item/4e87f3d99951a73911df9b8b.html
http://hi.baidu.com/luohuazju/blog/item/c3127af88bc7a11ad9f9fd9c.html
http://hi.baidu.com/luohuazju/blog/item/f7880d823c2c3caa6c811985.html
http://hi.baidu.com/luohuazju/blog/item/45bfa801ee0e5b087bec2ceb.html
https://hudson.dev.java.net/
http://jenkins-ci.org/
https://wiki.jenkins-ci.org/display/JENKINS/Use+Jenkins
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions