Installing Jenkins
About 137 wordsLess than 1 minute
2025-12-22
Jenkins can be installed on various platforms. Below is a basic installation guide for Ubuntu/Debian.
Prerequisites
- Java 8 or 11 installed on the system.
Installation Steps
- Update the package index:
sudo apt update - Install Java if not present:
sudo apt install openjdk-11-jdk - Add the Jenkins repository key:
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - - Add the Jenkins repository:
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' - Update packages and install Jenkins:
sudo apt update && sudo apt install jenkins - Start the Jenkins service:
sudo systemctl start jenkins - Enable Jenkins to start on boot:
sudo systemctl enable jenkins
Accessing Jenkins
After installation, access Jenkins at http://localhost:8080 and follow the setup wizard.