Installing Jenkins

Length: 00:06:34

Lesson Summary:

In order to use Jenkins as part of a CI/CD solution, you must first know how to install it. This lesson will take you through the steps necessary in order to install Jenkins and prepare it for use in a CI process. It provides a demonstration of installing Jenkins on a CentOS environment using yum. After completing this lesson, you should be able to perform a Jenkins installation yourself.

Jenkins installation docs:

Jenkins wiki on installing Jenkins in a CentOS environment:

Here are the commands used to install Jenkins in the demonstration:

Note: It is recommended to use Jenkins version 2.164.2, since some of the default plugins are no longer compatible with 2.121.1.

sudo yum -y remove java
sudo yum -y install java-1.8.0-openjdk
sudo wget -O /etc/yum.repos.d/jenkins.repo
sudo rpm --import
sudo yum -y install jenkins-2.164.2
sudo systemctl enable jenkins
sudo systemctl start jenkins

This lesson is only available to Linux Academy members.

Sign Up To View This Lesson
Or Log In

Looking For Team Training?

Learn More