DropVPS Team
Writer: Cooper Reagan
How to install Jenkins on Ubuntu 24.10?

Table of Contents
What you will read?
Jenkins is an open-source automation server widely used for CI/CD pipelines. Here’s how to install the latest stable Jenkins version on Ubuntu 24.10 quickly and cleanly.
Step 1: Install Java (Required by Jenkins)
Jenkins runs on Java, so you need OpenJDK 17 or newer:
sudo apt update
sudo apt install -y openjdk-17-jdk
Verify the Java version:
java -version
You should see something like:
openjdk version "17.x.x"
Step 2: Add Jenkins Repository
First, add the Jenkins GPG key:
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo tee /usr/share/keyrings/jenkins-keyring.asc > /dev/null
Then add the Jenkins repository to your sources list:
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
Update package list again:
sudo apt update
Step 3: Install Jenkins
Now install Jenkins:
sudo apt install -y jenkins
Step 4: Start and Enable Jenkins Service
Start the Jenkins service:
sudo systemctl start jenkins
Enable it to launch at boot:
sudo systemctl enable jenkins
Check status:
sudo systemctl status jenkins
Step 5: Open the Firewall (UFW)
Jenkins runs on port 8080 by default. If you’re using UFW:
sudo ufw allow 8080
sudo ufw reload
Step 6: Access Jenkins Web Interface
Now open your browser and visit:
http://your-server-ip:8080
To get the initial admin password:
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
That’s it — Jenkins is now installed and running on Ubuntu 24.10. You can begin configuring pipelines, installing plugins, and integrating your code repositories.