系统环境:
[root@vmxiamen_WEB10huwei]#cat/etc/redhat-release CentOSrelease6.9(Final)
2.安装python-setuptools
[root@vmxiamen_WEB10huwei]#yuminstallpython-setuptools
3.安装supervisor
[root@vmxiamen_WEB10huwei]#easy_installsupervisor
因为是境外站点,等很久.
4.
[root@vmxiamen_WEB10huwei]#echo_supervisord_conf>/etc/supervisord.conf [root@vmxiamen_WEB10huwei]#vim/etc/supervisord.conf [root@vmxiamen_WEB10huwei]#mkdir-p/etc/supervisor [root@vmxiamen_WEB10huwei]#vim/etc/supervisord.conf 5.修改配置文件最后两行: [include] files=/etc/supervisor/*.conf
6. 启动
[root@vmxiamen_WEB10huwei]#supervisord-c/etc/supervisord.conf [root@vmxiamen_WEB10huwei]#psaux|grepsupervisord|grep-v"grep" root211470.00.219678010940?Ss16:120:00/usr/bin/python/usr/bin/supervisord-c/etc/supervisord.conf原文链接:https://www.f2er.com/centos/377370.html