1、安装python-setuptoolsyum install python-setuptools遇到提示时,输入y命令
2、安装Supervisoreasy_install supervisor
3、创建supervisor配置文件夹mkdir /etc/supervisor
4、配置Supervisorecho_supervisord_conf > /etc/supervisor/supervisord.conf
5、修改supervisord.conf文件将文件尾部的配置,修改为:[include]files = conf.d/*.confvi /etc/supervisor/supervisord.conf
6、查看supervisord.conf文件cat /etc/supervisor/supervisord.conf
7、至此已经安装并配置完成将守护进程启动supervisord -c /etc/supervisor/supervisord.conf