#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
Jenkins · Topic 3 of 15

Jenkins Installation

Accessing Jenkins

Once installed, Jenkins is opened in the browser using: publicIP:8080

Default Jenkins install path: /var/lib/jenkins

Step-by-Step Installation (AWS + Redhat/Amazon Linux)

  1. Launch a Linux server on AWS and add a security group rule for Custom TCP, port 8080.
  2. Install Java:
    amazon-linux-extras install java-openjdk11 -y
  3. Get the Jenkins repo and signing key (copy these commands from jenkins.io → Download → Redhat):
    sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
    sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
  4. Install Jenkins:
    yum install jenkins -y
  5. Check status & start Jenkins:
    systemctl status jenkins   # shows inactive/dead initially
    systemctl start jenkins    # or: systemctl restart jenkins
  6. Retrieve the initial admin password from the path Jenkins shows, unlock Jenkins, and click "Install suggested plugins".

Automating Setup with a Shell Script

Doing this manual setup every time is time-consuming. Instead, put all the commands into a shell script:

vim jenkins.sh   # add all installation commands, then :wq

Give it executable permission and run it:

chmod +x jenkins.sh
./jenkins.sh     # or: sh jenkins.sh

Master Jenkins & DevOps with Uncodemy

Hands-on live training, real projects, and placement support — become job-ready in DevOps.

Enroll in DevOps Training →