In this tutorial, we will show you how to install Supervisor on CentOS 8. For those of you who didn’t know, Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. It is used to control processes related to a project or a customer and is meant to start like any other program at boot time. Features of Supervisor include simple, centralized, efficient, extensible, compatible, and proven. The supervisor will manage your process to live all time.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the Supervisor monitoring on CentOS 8.
Prerequisites
- A server running one of the following operating systems: AlmaLinux, CentOS, and Rocky Linux.
- It’s recommended that you use a fresh OS install to prevent any potential issues
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Supervisor on CentOS 8
Step 1. First, let’s start by ensuring your system is up-to-date.
sudo dnf clean all sudo dnf install epel-release sudo dnf update
Step 2. Installing Supervisor on CentOS 8.
Run the following command to install the supervisor on your CentOS system:
sudo dnf install supervisor
Once successfully installed, start and enable the supervisord
daemon to start on boot using the commands below:
sudo systemctl start supervisord sudo systemctl enable supervisord
Issue the command below to check the status of the service with the command below:
sudo systemctl status supervisord
Congratulations! You have successfully installed Supervisor. Thanks for using this tutorial for installing the Supervisor on CentOS 8 systems. For additional help or useful information, we recommend you check the official Supervisor website.