Friday, June 8, 2018

Install Jenkins on Linux | Install Jenkins Red Hat Enterprise Linux 7.5 - How to setup Jenkins on Red Hat Linux

How to Install Jenkins on Red Hat Enterprise Linux?

Please find below steps:

You need to setup Java first.
sudo yum install wget -y

Java Installation
sudo yum install java-1.8.0-openjdk-devel -y

Add Jenkins repository to yum repository
sudo wget -O /etc/yum.repos.d/jenkins.repo
sudo rpm --import

Install Jenkins
sudo yum install jenkins -y

Start Jenkins
sudo systemctl  start jenkins
sudo systemctl  enable jenkins

Get Jenkins Admin Password
sudo cat /var/lib/jenkins/secrets/initialAdminPassword

Copy the output of the above command.
Now go to browser and access the Jenkins page.


Your page will look something like this. Now paste the password into the below Administrator password text box.
Press Continue..Click on install suggested plug-ins..


  1. This tutorial have worth for those who was searching information on this topic. The installation of jenkins on redhat is not easy for everyone. This post would be helpful to make the installation easily. free password generator