Jenkins Installtion Guide: Step by Step Instruction For Linux

This guide will help in Jenkins installation using step by step instructions. It explains the different methods to setup jenkins on a Linux server.

Hardware Requirements

Jenkins server should meet the following minimum hardware requirements to run smoothly.

  1. 2GB RAM
  2. 30GB Hard disk (Better to have a additional disk for storing Jenkins data)

Note: This tutorila will work only on Redhat based Linux systems (Redhat & centos)


Following are the two mimimim requirements for Jenkins setup.

  1. Java
  2. Git (Not mandatory)

Java Installation

Java is a primary requirement for Jenkins as it is a java based application.

Step 1: Install java jdk

Step 2: Verify java installation

Git Installation

git is not a mandatory requirement. However, most of your Jenkins operations will be based on git. So it is better to have it installed on the Jenkins server.

Step 1: Install git

Step 2: Verify git installation

Jenkins Installation Methods

Jenkins can be installed in the following ways

  1. Using yum repository
  2. Using jenkins war file

Jenkins Installation Using yum Repo

Step 1: Add the Jenkins repo to the server

Step 2: Using the following command, find the specific version of Jenkins that you need.

Step 3: Install jenkins by following the below syntax.

For example,

Step 4: Start and enable jenkins service

Step 4: check the jenkins service status

You will be able to access Jenkins on port 8080.

Jenkins Installation Using Jenkins war File

Step 1: Download the latest jenkins war file from here

Step 2: Run the jar

If you want to run jenkins on a custom port, execute the jar with –port flag as shown below.

Other Jenkins Resources:

  1. How To Backup Jenkins Data And Configurations
  2. How To Setup Custom UI Theme For Jenkins


Ruby on rails is an excellent framework for developing web apps using ruby. And to be clear, ruby on rails is not a…

Read more
Git Clone Error:

Issue: In Jenkins, when I am trying to clone a git repository I am getting the following…

Read more

Controllers and views are the integral part of ruby on rails frameworks. The requests from the client is first sent to…

Read more

The Best Tutorials & Tips to Speedup Your DevOps Workflow.

Created by Bibin Wilson.