Operations 4 min read

Step-by-Step Guide to Install and Configure Jenkins with Supervisord on Linux

This tutorial walks you through downloading Jenkins, setting up JDK 1.8, installing and configuring Supervisord, creating the Jenkins directory, configuring supervisord to manage Jenkins, retrieving the initial admin password, and completing the web UI setup, all with clear command examples and screenshots.

21CTO
21CTO
21CTO
Step-by-Step Guide to Install and Configure Jenkins with Supervisord on Linux

Jenkins Installation and Configuration Guide

Today we share a free open‑source CI/CD tool, Jenkins, written in Java, and show how to install and deploy it.

1. Download Jenkins

Official download page: https://www.jenkins.io/download/

2. Install JDK 1.8

Install JDK 1.8 first (the detailed one‑click method is omitted here). The result is shown in the following screenshot:

3. Install and Configure Supervisord

We recommend using Supervisord to manage the Jenkins process.

Install Supervisord (first enable the EPEL repository):

yum install epel-release
yum -y install supervisor

Start and check Supervisord:

systemctl start supervisord
supervisorctl status
supervisorctl update

If no errors appear, Supervisord is installed successfully.

4. Create Jenkins Directory

mkdir -p /root/Jenkins
mv /root/jenkins.war /root/Jenkins/

5. Configure supervisord for Jenkins

Edit /etc/supervisord.d/jenkins.ini (example content omitted).

supervisorctl update
supervisorctl status

6. Retrieve Initial Admin Password

Check the Jenkins log to find the generated password:

less /root/jenkins/logs/Jenkins.log

7. Complete Web UI Setup

Open the Jenkins web interface, enter the retrieved password, and click the default "Next" button to finish the setup. Screenshots of the process are shown below:

8. Install SSH Publish Plugin

Download and install the SSH plugin "Publish over SSH" from the Jenkins plugin manager (screenshot omitted).

Jenkins is now ready and connected successfully. Good luck!

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

ci/cdOperationsDevOpslinuxInstallationJenkinsSupervisord
21CTO
Written by

21CTO

21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.