How do I install Jenkins on ubuntu?

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

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,050 points
92 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
120 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
41 views
0 votes
1 answer

How do I start jenkins as an admin without having the need of entering credentials?

I found a way around: Go to /Users/Username/.jenkins/ Open config.xml and remove ...READ MORE

answered Aug 22, 2018 in Jenkins by DareDev
• 6,520 points
34 views
0 votes
1 answer
+13 votes
2 answers
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 18 views
0 votes
2 answers

How can I make Jenkins CI with Git trigger on pushes to master?

Generic webhook trigger can be useful When configured ...READ MORE

answered Aug 13, 2018 in Jenkins by lina
• 8,100 points
54 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.