Interview Prep
Interview questions, roadmaps and practice sets
Tutorials
Free tutorials on 30+ topics
Blog
Career guides, skills and interview tips
Free PDFs
Notes, cheat sheets and question banks
Certificates
Free skill tests and course certificates
Tools & Whiteboard
Free tools you can use right in the browser
Practice Tests
Mock tests, MCQs and quick Q&A
Free LMS
Learn on the Uncodemy LMS
Choose the best training program according to your career.
Improve the performance of your business with our innovative Industrial Training Program.
Read More →
Our instructor-led training classes are designed to make you an expert.
Read More →
Real-life case studies are a great way to demonstrate your practical knowledge.
Read More →
Explore blogs, latest technologies and industry updates with practical examples.
Read More →Browse all available training programs and choose the right one for your career.
Read More →Know more about who we are and what we stand for.
Discover our mission to equip individuals with essential IT skills and industry expertise.
Read More →
Free tutorials, interview questions, tools and calculators to help you learn.
Explore →Learn, practice and plan your career — bilkul free.
Book a free video counselling session and pick the right course for you.
Read More →Jenkins is a Java web application, so every install method needs two things: a supported Java runtime and a free port (8080 by default). Current Jenkins releases run on Java 17 or Java 21; check the Java support page on jenkins.io before installing, because supported versions change as new LTS releases come out. On a cloud VM (AWS EC2, Azure, GCP), also open port 8080 in the security group or firewall, or you will not reach the web page.
Pick one method:
| Method | Good for |
|---|---|
| Docker | Trying Jenkins on a laptop, or a clean server you can rebuild |
| Linux package (apt / dnf) | A long-running server managed with systemctl |
| WAR file | Any OS with Java; quick experiments |
| Windows installer (MSI) | A Windows machine; Jenkins runs as a Windows service |
docker run -d --name jenkins \
-p 8080:8080 -p 50000:50000 \
-v jenkins_home:/var/jenkins_home \
jenkins/jenkins:lts-jdk21
# the first-run admin password
docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword
The named volume jenkins_home keeps jobs, plugins and settings when the container is replaced. Port 50000 is for inbound agents; leave it out if you will not connect any.
The steps are the same on Ubuntu/Debian and on Red Hat/Amazon Linux; only the package manager differs.
sudo apt install fontconfig openjdk-21-jre on Ubuntu, or sudo dnf install java-21-amazon-corretto on Amazon Linux 2023. Check with java -version.sudo apt-get update && sudo apt-get install jenkins # Debian/Ubuntu
# or: sudo dnf install jenkins # RHEL/Amazon Linux
sudo systemctl enable --now jenkins
sudo systemctl status jenkins # should show "active (running)"
sudo cat /var/lib/jenkins/secrets/initialAdminPasswordjava -jar jenkins.war --httpPort=8080
Download jenkins.war (LTS) from jenkins.io. Data goes to .jenkins in your home folder unless you set JENKINS_HOME. The password is printed in the console between lines of asterisks.
http://<server>:8080. The screen shows the exact file path of the password; paste the password and continue.localhost.sudo systemctl edit jenkins
# add these lines in the editor, then save:
[Service]
Environment="JENKINS_PORT=9090"
sudo systemctl daemon-reload
sudo systemctl restart jenkins
Recent packages read their settings from the systemd service, so editing old files such as /etc/default/jenkins may have no effect.
systemctl status jenkins first.sudo journalctl -u jenkins -e. A message about an unsupported Java version means you need a newer JDK.apt/dnf: the key you imported is outdated. Re-copy the key command from the official page.Not sure what Jenkins does yet? Start with What is Jenkins?. After installing, set up accounts and roles in Jenkins user management, and write your first pipeline with pipeline basics.
Hands-on live training, real projects and Dedicated Placement Support — become job-ready in DevOps.
Enroll in DevOps Training →