Jenkins Installation

1 hour
  • 2 Learning Objectives

About this Hands-on Lab

In this hands-on lab, we will install Java and Jenkins. Once this is done and the Jenkins instance is up and running, take some time to look around the interface and ensure you are familiar with all the menu items and other parts of the interface.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install java-11-openjdk
  1. Install java-11-openjdk:

    sudo yum install -y java-11-openjdk
Install the Repo and Key, and Then Install/Start Jenkins
  1. Install wget:

    sudo yum install -y wget
    1. Download the repo:
    sudo wget -O /etc/yum.repos.d/jenkins.repo
    1. Import the required key:
    sudo rpm --import
    1. Install Jenkins:
    sudo yum install -y jenkins
  2. Enable Jenkins:

    sudo systemctl enable jenkins
  3. Start Jenkins:

    sudo systemctl start jenkins

Additional Resources

Your company has decided to adopt Jenkins as its CI/CD solution. You will need to install Jenkins as an autostart service accessible on the public IP address on the default port.

The administrative user should be Jenkins_admin, and the server should have the default/suggested plugins.

The Jenkins repo is located at:

sudo wget -O /etc/yum.repos.d/jenkins.repo

The Jenkins key for that repo is located at:

sudo rpm --import

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?