基本リポジトリ # rpm -Uvh http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm # rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm jenkinsに必要なjava sdkインストール # yum install wget # yum install java-1.7.0-openjdk jenkinsインストール # wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo # rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key # yum install jenkins apacheと連携(http://server/jenkinsでアクセスできるようにする) # cp /etc/sysconfig/jenkins /etc/sysconfig/jenkins.bk # vi /etc/sysconfig/jenkins 151c151 < JENKINS_ARGS="--prefix=/jenkins" --- > JENKINS_ARGS="" # /etc/init.d/jenkins start # vi /etc/httpd/conf.d/jenkins.conf ProxyPass /jenkins http://localhost:8080/jenkins ProxyPassReverse /jenkins http://localhost:8080/jenkins ProxyRequests Off