Install Jenkins on Amazon Linux EC2 Instance

1. Login to your Amazon Linux instance.

2. Become root using ‘sudo su -‘ command.

3. Update your repositories

#yum update

4. Get Jenkins repository

#wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo

5. Get Jenkins repository key

  #rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key

6. Install Jenkins package

 #yum install jenkins

7. Start Jenkins

#service jenkins start

8. Start automatically at system startup

#chkconfig jenkins on

9. Open browser and navigate to http://<Elastic-IP>:8080/. You will see Jenkins Dashboard.

  •  
  •  
  •  
  •  

Viet Luu has written 318 articles

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

We are thankful for your never ending support.

Leave a Reply