How to Install jenkins in RHEL/Centos
Jenkins Installation ######################### # wget -O /etc/yum.repos.d/jenkins.repo \ https://pkg.jenkins.io/redhat/jenkins.repo Import Jenkins key # rpm --import https://pkg.jenkins.io/redhat/jenkins.io-2023.key Now run yum upgrade if required # yum upgrade #Add required dependencies for the jenkins package #yum install fontconfig java-17-openjdk Now install Jenkins service. # yum install jenkins Reload the system daemon #systemctl daemon-reload Enanble/start Jenkins service #systemctl enable Jenkins #systemctl start Jenkins #systemctl status Jenkins Unlocking Jenkins When you first access a new Jenkins controller, you are asked to unlock it using an automatically-generated password. Browse http://localhost:8080 and wait until the Unlock Jenkins page appears. From the Jenkins console log output, copy the automatically-generated alphanumeric password (between the 2 sets of asterisks). Jenkins initial setup is required. An admi...