Single Blog

Installation and Setup Jenkins on Centos 7.x

Preparing Node (CenOS)

  • Setup Appropriate Hostname with FQDN
          echo “jenkins.rulepaper.com” > /etc/hostname
  • Install wget if your node installed with minimal OS installation
          sudo yum install wget -y
  • Install Java if it is not already exists
          sudo yum install java -y
  • Update system 
     sudo yum update
 
Installation of a stable Jenkins version
 
  • sudo yum install jenkins -y
  • set the jenkins service to start while booting "sudo chkconfig jenkins on”
  • Start the jnekins service “service jenkins start”
 
Configuration of Jenkins
 
  • Open Jenkins home page using your favourite browser http://hostname:8080 or http://ip-address:8080 
 
  • As mentioned in above pic, get your secure password from mentioned file using cat /var/lib/jenkins/secrets/initialAdminPassword
  • After validating your secret password, page will proceed wot SetupWizard
  • You can select “install suggested Plugin” option to proceed with plugin installation.
 
  • Suggested plugin installation will start and right side you will see installation status.
  • Post installation it will prompt us to create first admin user.
 
  • File the user details and click on “Save and Continue”, followed by instance configuration click on “Save and Finish”.
 
  • Now Jenkins is ready to start using it click on “Start using Jenkins”.
 
  • It will take you to the Jenkins home page.
 
 
Will post a video soon on about “Explore Jenkins in Real time”
 
 

Comments (0)

Post a Comment