Jenkins Tutorial – How to install Jenkins on Amazon AWS EC2 Linux

Avatar admin | November 2, 2020 5 Views 0 Likes 0 Ratings

5 Views 0 Ratings Rate it

This video helps to install and configure Jenkins on AWS EC2.

What is Jenkins?

Jenkins is one of the famous and most used CI/CD Tool in the IT Market today. It can be Integrated with many other tools like git hub , git lab , bit bucket and many more.. It can also be used for testing and as well as for performing automation.

1. How to download and install Jenkins on aws ec2 linux
2. How to access Jenkins from browser
3. How to start and stop Jenkins
4. How to start Jenkins on different port
5. How to uninstall Jenkins

Step 1 : Connect to your Linux machine
Set up Custom TCP port: 8080 in AWS Security Groups

Step 2: Update Packages
sudo yum update

Step 3 : Check Java is installed. If not install java
java -version
sudo yum install java-1.8.0

To check and select one out of multiple java versions available
sudo /usr/sbin/alternatives –config java

Step 4 : Download latest Jenkins code package
sudo wget -O /etc/yum.repos.d/jenkins.repo…

Step 5 : Import a key file from Jenkins-CI to enable installation from the package
sudo rpm –import…

Step 6 : Install Jenkins
sudo yum install jenkins

Step 7 : Start jenkins
sudo service jenkins start

Step 8 : Access Jenkins server using the public DNS of your ec2 on port 8080
example :

Note : Here you might have to allow port 8080 in your security group settings.

5 Views 0 Ratings Rate it

Written by admin