How do I install Jenkins on ubuntu

0 votes
How do I install Jenkins on ubuntu?
Feb 25, 2019 in Jenkins by Chandu

1 answer to this question.

0 votes

Hey @Chandu, follow these steps to install Jenkins on Ubuntu:

wget -q -O - | sudo apt-key add -
echo deb binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list 
sudo apt-get update 
sudo apt-get install jenkins

Start Jenkins

sudo systemctl start jenkins
sudo systemctl status jenkins

By default jenkins runs on port 8080

sudo ufw allow 8080

Go to this to set up jenkins


Execute the following command to get the token:

sudo cat /var/lib/jenkins/secrets/initialAdminPassword

Enter the token, create an account and you're good to go :)

answered Feb 25, 2019 by Kalgi

Related Questions In Jenkins

0 votes
1 answer

I’m facing a login error when I try to run Jenkins on Docker. How do I solve this?

You have to open the /var/log/jenkins/jenkins.log file to ...READ MORE

answered Jul 24, 2018 in Jenkins by Sophie may
• 10,550 points
0 votes
2 answers

How do I start jenkins on my Virtual Machine?

To start the Jenkins server please follow ...READ MORE

answered Dec 17, 2018 in Jenkins by Arohi
0 votes
1 answer

How do I set up a windows_slave agent via JNLP, If I have a Jenkins master configured on linux?

JNLP(JAVA NETWORK LAUNCH PROTOCOL) is used to Connect to/launch ...READ MORE

answered Jun 3, 2019 in Jenkins by Sirajul
• 59,070 points
0 votes
1 answer

How do I pass value from my Fake # script to the host build server (Jenkins)

You can use the EnvInject plugin to pass environment ...READ MORE

answered Jul 11, 2018 in Jenkins by Kalgi
• 2,680 points
0 votes
2 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
0 votes
1 answer

How do I install Jenkins on Windows?

Hey Laksha, before you start installing Jenkins ...READ MORE

answered Feb 28, 2019 in Jenkins by Kalgi

edited Feb 28, 2019 353 views