Document

SUBSCRIBE TO GET FULL ACCESS TO THE E-BOOKS FOR FREE 🎁SUBSCRIBE NOW

Professional Dropdown with Icon

SUBSCRIBE NOW TO GET FREE ACCESS TO EBOOKS

 Jenkins Installation

  • apt-get  update 
  • apt-get  install  openjdk-8-jdk 
  • java -version
  • wget -qO – https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add –
  • sudo sh -c ‘echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list’
  • sudo apt-get update
NOTE:- INCASE IF YOU GET CERTIFICATE ERROR THEN RUN BELOW COMMAND
               sudo apt install ca-certificates
 
  • sudo apt-get install jenkins
  •  
  • systemctl status jenkins
  • sudo ufw allow 8080
  • give sudo permisssion to jenkins user 
  •  vi /etc/sudoers 
  • Add below entry
  •  jenkins ALL=(ALL) NOPASSWD: ALL and save the file
Share your love

Leave a Reply

Your email address will not be published. Required fields are marked *