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.
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 supervisorStart and check Supervisord:
systemctl start supervisord
supervisorctl status
supervisorctl updateIf 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 status6. Retrieve Initial Admin Password
Check the Jenkins log to find the generated password:
less /root/jenkins/logs/Jenkins.log7. 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!
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
21CTO
21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
