さくらVPSにJenkinsをインストール


sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum install jenkins

sudo vi /etc/sysconfig/jenkins

JENKINS_PORT=8081
JENKINS_AJP_PORT=8010
JENKINS_ARGS="--prefix=/jenkins"

Jenkins起動
sudo service jenkins start

Jenkinsの常駐化
sudo chkconfig jekins on

http://xxx.xxx.xxx.xxx/jenkins
でアクセスするために/etc/httpd/conf/http.confを編集

/etc/httpd/conf/httpd.conf
<Location /jenkins>
    ProxyPass http://localhost:8081/jenkins
</Location>

httpdを再起動

sudo /etc/init.d/httpd restart