Skip to content

Instantly share code, notes, and snippets.

@oshiro-kazuma
Last active October 12, 2016 07:28
Show Gist options
  • Save oshiro-kazuma/102f37c050b68e5e63ca34437f567090 to your computer and use it in GitHub Desktop.
Save oshiro-kazuma/102f37c050b68e5e63ca34437f567090 to your computer and use it in GitHub Desktop.
jenkins をamazon linux にインストール
# install
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum install jenkins
sudo service jenkins start
curl localhost:8080
# default password
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
# login可能に
# ログインシェルを/bin/falseから/bin/bashに変更する
sudo vim /etc/passwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment