sudo wget -O /usr/share/keyrings/jenkins-keyring.asc
https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]
https://pkg.jenkins.io/debian-stable binary/ | sudo tee
/etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt-get update
sudo apt-get install jenkins -y
Step 11: then goto terminal paste that path with as (cat /var/lib/jenkins/secrets/initialAdminPassword)
Step 12: you will get the password copy and paste in the admin. password which is in browser jenkins page.
confirm pass: 12345 > fullname: admin : email: [email protected] > (click) save and continue > save and finish > (click) star using jenkins
## Hence, You have successfully installed jenkins on your ubuntu server.