Installing Jenkins on CentOS 7


  • Build a new CentOS machine 
  • Run through the below to install Jenkins
You can also refer the below official doc : 

Install Jenkins

sudo wget -O /etc/yum.repos.d/jenkins.repo \

sudo rpm --import

sudo yum upgrade

sudo yum install jenkins java-1.8.0-openjdk-devel
sudo systemctl daemon-reload

Start Jenkins

You can start the Jenkins service with the command:

sudo systemctl start jenkins

Check Jenkins service status 

You can check the status of the Jenkins service using the command:

sudo systemctl status jenkins

  • Once the service is up and running, you should be able to access Jenkins via browser on port 8080

Suppose you are unable to access the server even if the service is running, it is most likely the guest firewall stopping the connection.
The below should stop and the firewall within the guest OS 

systemctl stop firewalld
systemctl disable firewalld

  • In order to Unlock Jenkins, you will collect the Password from the below mentioned file 
cat /var/lib/jenkins/secrets/initialAdminPassword

  • You can either choose the Plugins to be installed or go with the system suggested Plugins. I am going with the Suggested Plugins because, Why not ! 

  • Plugins getting installed... 

  • Ofcourse, create a login account. 

Done! Jenkins is ready 😃


Popular posts from this blog

vCloud director 9.7 appliance deployment step by step guide

How to Install and Uninstall Guest agent for vRA Windows machines

VM console fails to connect - vCloud director 9.7