- 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.
Table of Contents
Log In to the Provided Server
Log in to the server as
cloud_userwith the provided password to ensure you can log in. When the file
SERVER-READYis shown in the
/home/cloud_userfolder, then you can follow along with the tasks.
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.
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.
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.