Skip to content

Instantly share code, notes, and snippets.

@masayuki5160
Created January 29, 2016 08:44
Show Gist options
  • Save masayuki5160/68f55c4076c4bf07f9a1 to your computer and use it in GitHub Desktop.
Save masayuki5160/68f55c4076c4bf07f9a1 to your computer and use it in GitHub Desktop.
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
ls -l /etc/yum.repos.d/
rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
yum install jenkins
service jenkins start
chkconfig jenkins on
-- 重要なファイル
/usr/lib/jenkins/jenkins.war : Jenkins本体
/etc/sysconfig/jenkins : 設定ファイル
/etc/rc.d/init.d/jenkins : 起動スクリプト
Jenkinsサーバ
http://IPアドレス:8080/
【参考】CentOS/RedHatにJenkinsをインストールする手順 (yum, RPM)
http://weblabo.oscasierra.net/install-jenkins-01/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment