## Install Jenkins $ sudo yum update $ sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo $ sudo rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key $ sudo yum install jenkins $ sudo service jenkins start $ sudo chkconfig jenkins on ## Install Docker (Amazon EC2 Container Service) $ sudo yum install -y ecs-init $ sudo gpasswd -a jenkins docker $ sudo service docker start $ sudo chkconfig docker on ## Install Git $ sudo yum install git #### If you are using the GitHub plug-in then you should create a key to log in to GitHub $ sudo su -s /bin/bash jenkins $ cd /var/lib/jenkins/ $ ssh-keygen $ cat .ssh/id_rsa.pub #### Copy the public key, which was just concatenated onto the screen, and add it to your GitHub keys. $ sudo reboot