How do I install Jenkins on ubuntu?

0 votes
How do I install Jenkins on ubuntu?
Feb 25 in Jenkins by Chandu
34 views

1 answer to this question.

0 votes

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

wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
echo deb https://pkg.jenkins.io/debian-stable 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

http://ip_address_or_domain_name:8080

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 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
• 9,530 points
238 views
0 votes
1 answer

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
417 views
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 in Jenkins by Sirajul
• 25,420 points
910 views
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,620 points
92 views
0 votes
2 answers
+13 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,380 points
147 views
0 votes
1 answer

How do I install Jenkins on Windows?

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

answered Feb 28 in Jenkins by Kalgi

edited Feb 28 40 views