Issue with Jenkins installation in aws ec2 linux


I am unable to install jenkins in aws linux ec2.

Hey @teja_2022

I am not an expert here. But I see one obvious thing:

  • Minimum JDK version for Jenkins should be Java 11 or 17 assuming you are using the latest version. Refer this doc: Java requirements.

Also if you run systemctl status jenkins and paste the logs here (as stated in your screenshot), it would be easier for community to help you.

1 Like

Really thanks for your fast reply.

I am installing jenkins as per the videos I refer and bsed on the below commands,

sudo yum update -y
sudo yum install java-1.8.0-openjdk-devel
java -version

jenkins installation
step 1 - sudo wget -O /etc/yum.repos.d/jenkins.repo
step 2 - sudo rpm --import
step3 - sudo amazon-linux-extras install epel
step 4 - sudo yum install jenkins -y
Step 5

sudo systemctl start jenkins
sudo systemctl enable jenkins
sudo systemctl status jenkins

all videos are showing to install java 1.8. Can you please help me in this

Hi @teja_2022
this tutorial may help you Jenkins on AWS

1 Like

If you are installing lastest jenkins you absolutely need java 11

You can install older versions (not recommended) or use java 11

Just a reminder 3rd party tutorials so get out of date and not updated. Feel free to let them know