Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      June 2, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      June 2, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      June 2, 2025

      How To Prevent WordPress SQL Injection Attacks

      June 2, 2025

      How Red Hat just quietly, radically transformed enterprise server Linux

      June 2, 2025

      OpenAI wants ChatGPT to be your ‘super assistant’ – what that means

      June 2, 2025

      The best Linux VPNs of 2025: Expert tested and reviewed

      June 2, 2025

      One of my favorite gaming PCs is 60% off right now

      June 2, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      `document.currentScript` is more useful than I thought.

      June 2, 2025
      Recent

      `document.currentScript` is more useful than I thought.

      June 2, 2025

      Adobe Sensei and GenAI in Practice for Enterprise CMS

      June 2, 2025

      Over The Air Updates for React Native Apps

      June 2, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      You can now open ChatGPT on Windows 11 with Win+C (if you change the Settings)

      June 2, 2025
      Recent

      You can now open ChatGPT on Windows 11 with Win+C (if you change the Settings)

      June 2, 2025

      Microsoft says Copilot can use location to change Outlook’s UI on Android

      June 2, 2025

      TempoMail — Command Line Temporary Email in Linux

      June 2, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»How To Install and Configure Jenkins on Ubuntu 24.04

    How To Install and Configure Jenkins on Ubuntu 24.04

    December 7, 2024

    Mostly every programmer following a software development life cycle that helps them to keep track of the application. A development life cycle have there own challenges and one of them is to build, test and deploy application. Jenkins is an automation server for the continuous integration tool. It provides a number of plugins for building and deploying your application in an easier way.

    You can use Jenkins as a simple CI (Continuous Integration) server or configure this for the CD (Continuous Delivery) hub for any number of the projects. With the help of Jenkins, you can easily distribute work across multiple machines, helping drive builds, tests and deployments across multiple platforms faster.

    This tutorial will help you to install and configure Jenkins on Ubuntu 24.04 LTS Linux system. The same instruction can be use for other Ubuntu versions as well. Let’s go through the tutorial to install Jenkins on an Ubuntu system.

    Prerequisites for Jenkins Installation

    • Ubuntu server with 22.04 version
    • SSH access to server with non-root sudo user
    • Java 17 or higher for latest Jenkins (See compatibility chart)
    • A web server running Apache or Nginx

    Step 1: Installing Java Development Kit

    Jenkins latest version required Java 17 or above versions. The Ubuntu default repositories contains all required JDK packages. Update the Debian packages cache to get latest version definitions.

    sudo apt update
    

    Then install the OpenJDK 17 or higher version on your machine. You can find available versions using “apt search jdk” command.

    sudo apt install openjdk-17-jdk
    

    Once JDK installation finished, check the currently active java version.

    java -version
    

    You should she the installed Java version as output.

    Java Version for Jenkins
    Java Version for Jenkins

    Step 2: Configure Jenkins PPA

    Jenkins officially provides the repositories for package management for the popular operating system. Use the following command to add Jenkins key to your system:

    sudo wget -O /usr/share/keyrings/jenkins-keyring.asc 
        https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key
    

    The enable the Jenkins PPA on your Ubuntu system. This repository contains required packages to install Jenkins on Ubuntu Linux.

    echo "deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]" 
        https://pkg.jenkins.io/debian-stable binary/ | sudo tee 
        /etc/apt/sources.list.d/jenkins.list > /dev/null
    

    Step 3: Installing Jenkins on Ubuntu

    Update the Debian package cache before installing Jenkins on Ubuntu. After that, you can install Jenkins on an Ubuntu system by running below commands.

    sudo apt update
    sudo apt install jenkins
    

    By default Jenkins listens on port 8080, which is very common by multiple applications. If this port is already occupied, you can change this in /etc/default/jenkins configuration file by updating value of HTTP_PORT. Make sure to restart jenkins after changes.

    Now verify the Jenkins service status:

    sudo systemctl status jenkins
    
    Installing Jenkins on Ubuntu 24.04
    Jenkins Service Status

    Step 4: Initial Jenkins Configuration

    Access your server on port 8080 (Or updated port) in your favorite web browser. You will find an wizard to complete initial setup.

    1. On the first screen, jenkins will prompt for the initial admin password, You can find that password in /var/lib/jenkins/secrets/initialAdminPassword file as shown in below image.

      Installing Jenkins on Ubuntu 24.04: Step 1

    2. Now select appropriate option to install the plugin. You can choose to install suggested plugins or select the required plugins options.

      Installing Jenkins on Ubuntu 24.04: Step 2

    3. I have selected the “install suggested plugins” options. Jenkins will show you the plugins that are installing.

      Installing Jenkins on Ubuntu 24.04: Step 3

    4. Now create an admin account for your Jenkins setup. This will be required to log in to Jenkins.

      Installing Jenkins on Ubuntu 24.04: Step 4

    5. Once you logged in, you will find the dashboard. Where you can create pipeline to build, test and deploy your code.

      Installing Jenkins on Ubuntu 24.04

    Conclusion

    This tutorial helped you to install and initial configuration of Jenkins server on your Ubuntu system. Now you can start build, test and deploy application with CI/CD implementation.

    The post How To Install and Configure Jenkins on Ubuntu 24.04 appeared first on TecAdmin.

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleNVIDIA’s RTX 4060 is aging horribly as Indiana Jones and the Great Circle Nazi-punches your VRAM
    Next Article Chalk – terminal string styling

    Related Posts

    Security

    Chrome Zero-Day Alert: CVE-2025-5419 Actively Exploited in the Wild

    June 2, 2025
    Security

    CISA Adds 5 Actively Exploited Vulnerabilities to KEV Catalog: ASUS Routers, Craft CMS, and ConnectWise Targeted

    June 2, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    U.S. Treasury Lifts Tornado Cash Sanctions Amid North Korea Money Laundering Probe

    Development

    NVIDIA’s new GPU driver adds DOOM: The Dark Ages support and improves DLSS in Microsoft Flight Simulator 2024

    News & Updates

    The AI Fix #44: AI-generated malware, and a stunning AI breakthrough

    Development

    Meet Moxin LLM 7B: A Fully Open-Source Language Model Developed in Accordance with the Model Openness Framework (MOF)

    Development

    Highlights

    Development

    Llama3-V: A SOTA Open-Source VLM Model Comparable performance to GPT4-V, Gemini Ultra, Claude Opus with a 100x Smaller Model

    June 1, 2024

    Llama 3 has significantly outperformed GPT-3.5 and even surpassed GPT-4 in several benchmarks, showcasing its…

    CISA Warns of Critical Vulnerabilities in Industrial Control Systems Affecting Key Infrastructure Sectors

    November 11, 2024

    FreeBSD is an operating system powering servers and desktops

    May 14, 2025

    How to Fix Omen Gaming Hub Lighting if it’s Not Working

    February 10, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.