How to Install Jenkins on Ubuntu (Step-by-Step Guide) If you're a developer or DevOps engineer, Jenkins is one of the most powerful tools you can have in your CI/CD pipeline. In this guide, we’ll walk through how to install Jenkins on an Ubuntu system from scratch — including the setup of Java , system services , and how to access the Jenkins dashboard. 📋 Prerequisites Before diving in, make sure: You're running Ubuntu 22.04 LTS or similar You have sudo privileges Your system has access to the internet ☕ Step 1: Install Java Jenkins requires Java 17 or newer. Here’s how to install OpenJDK 17: sudo apt update sudo apt install fontconfig openjdk-21-jre You can verify the installation: java -version openjdk version "21.0.3" 2024-04-16 OpenJDK Runtime Environment ( build 21.0.3+11-Debian-2 ) OpenJDK 64-Bit Server VM ( build 21.0.3+11-Debian-2, mixed mode, sharing ) 📦 Step 2: Add Jenkins Repository Jenkins isn’t in Ubuntu’s default repos, ...
Welcome to another hands-on tutorial! Today, we’re deploying a custom HTTPD application in a Kubernetes cluster using Minikube. Follow along as we walk through each step, from setting up prerequisites to deploying, scaling, and cleaning up our application. By the end, you’ll have an in-depth understanding of deploying Docker applications in Minikube with Kubernetes. Prerequisites: Setting Up Your Environment Before we start, make sure you have these tools installed and configured on your local machine: Docker (to build and run container images) kubectl (to manage Kubernetes clusters) Minikube (to run a Kubernetes cluster locally) To verify each tool, use the following commands: docker --version kubectl version --client minikube version Step 1: Run Docker Without Sudo For convenience, we’ll configure Docker to run without sudo : sudo usermod -aG docker $USER newgrp docker After running these commands, log out and back in or use newgrp docker to apply the changes. Step 2: Start the M...