How to Install Jenkins on Red Hat Enterprise Linux?
Please find below steps:
You need to setup Java first.
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 http://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import http://pkg.jenkins.io/redhat-stable/jenkins.io.key
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.
http://dns_name:8080
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..
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.
http://dns_name:8080
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..
It is an informative post.
ReplyDeleteThis 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
ReplyDelete