Jenkins Installation Day-44

Update the system

sudo yum update && sudo yum upgrade -y

Jenkins is a java based app, so we need to install java

sudo yum install java-17*

Check java installed

Next, add the Jenkins repository to your system with the following commands

sudo wget -O /etc/yum.repos.d/jenkins.repo \
pkg.jenkins.io/redhat-stable/jenkins.repo

Import a key file from Jenkins-CI to enable installation from the package

sudo rpm --import pkg.jenkins.io/redhat-stable/jenkins.io-202..

Install Jenkins

sudo yum install jenkins -y

Start and Enable Jenkins

sudo systemctl enable jenkins

sudo systemctl start jenkins

Access Jenkins

ec2 ip with port 8080

http://15.206.125.61:8080

Successfully logged Jenkins