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.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- 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.- 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.