- Lab
- A Cloud Guru
Installing Jenkins in the Lab Playground
In this lab, you will be provided a CentOS 8 server for use. The tasks for this lab are to install Java, and then install Jenkins. You will then need to configure Jenkins with an admin user and test to ensure the GUI interface is accessible.
Path Info
Table of Contents
-
Challenge
Log In to the Provided Server
Log in to the server as
cloud_user
with the provided password to ensure you can log in. When the fileSERVER-READY
is shown in the/home/cloud_user
folder, then you can follow along with the tasks. -
Challenge
Install Java and Then Jenkins
Your task for this objective is to install a Java
openjdk
, the Jenkins repository, and then install Jenkins.You will use whatever system commands are required.
Access the Jenkins repo.
-
Challenge
Start Jenkins and Set It to Auto-start on a Reboot
Using the required commands, enable and start Jenkins. Be sure to configure Jenkins to start automatically on a reboot.
-
Challenge
Test Jenkins Is Available for Use on Port 8080 and Continue the Installation
By default, Jenkins uses port 8080. Test it is available and use the generated key from the location shown on the Jenkins screen to create the Jenkins instance.
Create a user called admin with your own choice of passwords, and choose the default plugins option.
You should be able to log into the Jenkins instance via the web page. When you can see the GUI interface, you can mark this lab as complete.
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.