Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Installing Jenkins

The first step in using Jenkins as part of a continuous integration pipeline is to install it. This activity will guide you through the steps required to install Jenkins in a Linux environment. After completing this exercise, you will know how to install Jenkins and be ready to begin using it for continuous integration.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 45m
Published
Clock icon Jul 08, 2018

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Install Jenkins in the learning activity environment

    Install Jenkins in the learning activity environment via the YUM package manager. You must first configure the Jenkins YUM repositories in order to do this. You can install Jenkins like so:

    sudo yum install -y epel-release java-11-openjdk
    sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
    sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
    sudo yum -y install jenkins
    
  2. Challenge

    Complete Jenkins setup in the browser

    After installing and starting Jenkins, there is some setup that needs to be completed through the Jenkins web interface. You can access Jenkins at [Jenkins Server Public IP]:8080.

    First, you will need to login using the temporary admin password, which you can find on the server with this command:

    sudo cat /var/lib/jenkins/secrets/initialAdminPassword

    Then, select Install suggested plugins and wait for the plugins to finish installing.

    Finally, you will need to fill out a form to create credentials for the first admin user.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans