Jenkins installation on ubuntu OS

Use following command for jenkins installtion

  • sudo apt update
  • sudo apt install openjdk-8-jdk
  • apt install openjdk-8-jdk -y
  • wget -q -O – https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add –
  • sudo sh -c ‘echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list’
  • apt-get update
  • -sudo apt-get install jenkins -y
  • systemctl status jenkins
  • sudo ufw allow 8080
  • give sudo permisssion to jenkins user < /br> vi /etc/sudoers and add below entry jenkins ALL=(ALL) NOPASSWD: ALL and save the file

If you are getting this error

https://pkg.jenkins.io/debian-stable binary/ Release Certificate verification failed:

Then run following command

sudo su

apt update

apt-get install jenkins -y

Published by

Purab

I am Purab from India, Software development is my profession and teaching is my passion. Programmers blog dedicated to the JAVA, Python, PHP, DevOps and Opensource Frameworks. Purab's Github Repo Youtube Chanel Video Tutorials Connect to on LinkedIn

Leave a Reply

Your email address will not be published.