How do I install Jenkins on ubuntu

0 votes
How do I install Jenkins on ubuntu?
Feb 25, 2019 in Jenkins by Chandu
971 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 26, 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,610 points
3,286 views
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
7,996 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, 2019 in Jenkins by Sirajul
• 59,230 points
56,588 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,680 points
1,140 views
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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,460 views
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 897 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP