• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How To Install Jenkins on Ubuntu 20.04

By Abhishek Ghosh January 8, 2022 6:40 pm Updated on January 8, 2022

How To Install Jenkins on Ubuntu 20.04

Advertisement

Jenkins is an extensible, web-based software system for the continuous integration of software components into an application program. It is considered a fork of the Hudson software by Sun, now Oracle. With Jenkins, we can efficiently manage tasks from building to deploying software. We need Oracle JDK 11 installed for Jenkins. Navigate to this webpage:

Vim
1
https://launchpad.net/~linuxuprising/+archive/ubuntu/java/+packages

Find the package oracle-java11-installer-local (11.0.13-1~linuxuprising0) for focal. The version of the script is 11.0.7. In this case, you would need Oracle JDK 11.0.7. Navigate to:

Vim
1
https://www.oracle.com/java/technologies/downloads/

Locate the jdk-11.0.13_linux-x64_bin.tar.gz package (Java SE 11 > JDK Download), download to your computer and upload to your server. Now run these commands:

Advertisement

---

Vim
1
2
3
4
5
6
7
sudo apt install software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EA8CACC073C3DB2A
sudo add-apt-repository ppa:linuxuprising/java
sudo apt update
sudo mkdir -p /var/cache/oracle-jdk11-installer-local/
sudo cp jdk-11.0.7_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
sudo apt install oracle-java11-installer-local

You can manage by running:

Vim
1
2
3
4
5
6
7
8
9
sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config java
# sudo nano /etc/environment
## add
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
##
source /etc/environment
echo $JAVA_HOME

Back to installing Jenkins! Run these commands :

Vim
1
2
3
4
5
6
7
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt update
sudo apt upgrade
sudo apt install jenkins
sudo systemctl start jenkins
# sudo systemctl status jenkins

You’ll get the below output against sudo systemctl status jenkins :

Vim
1
2
3
4
5
6
● jenkins.service - LSB: Start Jenkins at boot time
   Loaded: loaded (/etc/init.d/jenkins; generated)
   Active: active (exited) since Fri 2020-06-05 21:21:46 UTC; 45s ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 1137)
   CGroup: /system.slice/jenkins.service

How To Install Jenkins on Ubuntu 20-04

Remember that you may need to open your firewall’s port 8080. You’ll need this password for the next step:

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

Visit the frontend of Jenkins on browser:

Vim
1
http://server's-ip_or_domain:8080

You should receive the Unlock Jenkins screen. Paste the password we got in the above step. In the next screen, click the “Install suggested plugins” option, which will immediately begin the installation process. When the installation will get completed, you will be prompted to set up an administrative user.

This Article Has Been Shared 899 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How To Install Jenkins on Ubuntu 20.04

  • WordPress XML-RPC Attack & Fake PHP5-FPM Error

    WordPress XML-RPC Attack Can Bring DDoS Resulting in Random 502 PHP5-FPM Errors on Nginx Server or Can Make the Database Down. Here is Fix.

  • Install, Configure Brotli On Apache, WordPress, W3TC

    All In One Guide To Install, Configure Brotli On Apache, WordPress, W3TC Running On Ubuntu 16.04 On Dedicated Server, Cloud Server Instance.

  • Setup SFTP Without Shell Access For WordPress, Cloud Server

    Often We Need To Host Account On VPS OR Cloud Server Where It Is Desired To Have A Setup SFTP Without Shell Access For WordPress Like cPanel.

  • How To Install Redmine on Ubuntu 16.04 (Project Management and Issue Tracking Tool)

    Redmine is Open Source Project Management and Issue Tracking Tool. Here is How To Install Redmine on Ubuntu 16.04 Blank Server From SSH.

  • How To Configure Fail2ban To Send Daily Email Report

    We Can Automate Email Alerts For Keeping an Eye on Security. Here Are The Required Steps On How To Configure Fail2ban To Send Daily Email Report.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023
  • Get Audiophile-Grade Music on Your Smartphone March 25, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How To Install Jenkins on Ubuntu 20.04," in The Customize Windows, January 8, 2022, March 29, 2023, https://thecustomizewindows.com/2022/01/how-to-install-jenkins-on-ubuntu-20-04/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT