• 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 977 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 (22.1K 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

  • Big Data in Sports May 20, 2022
  • FaaS Versus PaaS Deployment: What You Should Know May 18, 2022
  • What Is A Digital Media Consultancy? May 17, 2022
  • How Artificial Intelligence (AI) Is Changing The Way We Play Bingo May 16, 2022
  • Why You Need A Big Data Consultant May 15, 2022

About This Article

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

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

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

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

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