1、安装supervisor
    yum install epel-release 先安装EPEL源
    yum install -y supervisor

    2、启动supervisor
    systemctl enable supervisord
    开机自启
    systemctl start supervisord
    启动supervisord
    systemctl status supervisord
    查看状态

    3、修改配置文件
    vim /etc/supervisord.conf
    开启web界面访问
    把[inet_http_server]模块的注释;去掉
    并修改IP、用户名与密码
    CentOS7安装supervisor3.4 - 图1
    supervisorctl reload
    重新加载配置文件

    4、开启Supervisor默认的9001端口
    firewall-cmd —zone=public —add-port=9001/tcp —permanent
    firewall-cmd —reload

    5、访问http://127.0.0.1:9001