Skip to content Skip to sidebar Skip to footer

How to Install Supervisord in Redhat 7 with the Yum Command and Easily

Supervisor is a package process manager for client / server systems that allows us to more easily monitor and control a number of program processes that we create on UNIX-like operating systems.

Preparation

Upload your Supervisord file and required Dependencies.

  1. supervisor-3.1.4-1.sdl7.noarch.rpm
  2. python-setuptools-0.9.8-7.el7.noarch.rpm
  3. python-meld3-0.6.10-1.el7.x86_64.rpm

Here im uploaded file with securefx used protocol sftp you can upoladed with same software or like filezilla, winscp and other

Upload file Supervisord and Dependencies
Upload file Supervisord and Dependencies


Installing

The command I use uses yum because it is the easiest among other commands.

# yum install python-meld3-0.6.10-1.el7.x86_64.rpm python-setuptools-0.9.8-7.el7.noarch.rpm supervisor-3.1.4-1.sdl7.noarch.rpm


After installing you must start this server and dont forget to autostart.

# systemctl start supervisord
# systemctl enable supervisord
# systemctl status supervisord
Install Supervisord in Redhat
Install Supervisord in Redhat


Configure

I modified a little change in the configuration, I want to activate the GUI which can be hit from the browser. and of course it must be with the credentials that i set.

And I also modified for the configuration file which later will be the location of my custom .conf in my own path
# vi /etc/supervisord.conf 

...........
[inet_http_server]         ; inet (TCP) server disabled by default
port=*:9001        ; (ip_address:port specifier, *:port for all iface)
username=kitsake              ; (default is no username (open server))
password=123456               ; (default is no password (open server))
...........
...........
...........
[include]
files = /kitsake/supervisord/conf/*.conf ; directory your configuration
...........

save & exit


After finishing the configuration, apply it by restarting Supervisord

# systemctl restart supervisord


Trying

Open your browser and hit your IP and port 9001 example : http://192.168.79.133:9001/

Trying to Hit Supervisord
Trying to Hit Supervisord


Post a Comment for "How to Install Supervisord in Redhat 7 with the Yum Command and Easily"