Team,
Today I am trying to complete the task of Jenkins installation but I am getting error several times.
In order to cross check with other environment I created AWS EC2 instance and there also I am facing the same problem.
Could you please provide the suggestion here.
I used below command to install Jenkins
sudo wget -O /etc/yum.repos.d/jenkins.repo
https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
sudo yum upgrade
Add required dependencies for the jenkins package
sudo yum install java-11-openjdk-devel -y
sudo yum install jenkins -y
sudo systemctl daemon-reload
thor@jumphost ~$ systemctl status jenkins.service
● jenkins.service - Jenkins Continuous Integration Server
Loaded: loaded (/usr/lib/systemd/system/jenkins.service; enabled; preset: disabled)
Active: activating (start) since Sun 2024-06-30 14:33:18 UTC; 1s ago
Main PID: 22972 (java)
CGroup: /docker/11e4f3625f20e6eedba99a864bd9ac29b1b75a660e7b126f0dc72bc02ea30d7b/docker/11e4f3625f20e6eedba99a864bd9ac29b1b75a660e7b126f0dc72bc02ea30d7b/docker/11e4f3625f20e6eedba99a864bd9ac29b1b75a660e7b126f0dc72bc02ea30d7b/system.slice/jenkins.service
└─22972 /usr/bin/java -Djava.awt.headless=true -jar /usr/share/java/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080
Jun 30 14:33:18 jumphost.stratos.xfusioncorp.com jenkins[22972]: Running from: /usr/share/java/jenkins.war
Jun 30 14:33:19 jumphost.stratos.xfusioncorp.com jenkins[22972]: 2024-06-30 14:33:19.428+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file
Jun 30 14:33:19 jumphost.stratos.xfusioncorp.com jenkins[22972]: 2024-06-30 14:33:19.644+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
Jun 30 14:33:19 jumphost.stratos.xfusioncorp.com jenkins[22972]: 2024-06-30 14:33:19.848+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-10.0.20; built: 2024-01-29T20:46:45.278Z; git: 3a745c71c23682146f262b99f4ddc4c1bc41630c; jvm 11.0.20.1+1-LTS
thor@jumphost ~$