- 系统环境:
[[email protected]_WEB10 huwei]# cat /etc/redhat-release CentOS release 6.9 (Final)
2.安装python-setuptools
[[email protected]_WEB10 huwei]# yum install python-setuptools
3.安装supervisor
[[email protected]_WEB10 huwei]# easy_install supervisor
因为是境外站点,等很久.
4.
[[email protected]_WEB10 huwei]# echo_supervisord_conf >/etc/supervisord.conf [[email protected]_WEB10 huwei]# vim /etc/supervisord.conf [[email protected]_WEB10 huwei]# mkdir -p /etc/supervisor [[email protected]_WEB10 huwei]# vim /etc/supervisord.conf 5.修改配置文件最后两行: [include] files = /etc/supervisor/*.conf
6. 启动
[[email protected]_WEB10 huwei]# supervisord -c /etc/supervisord.conf [[email protected]_WEB10 huwei]# ps aux|grep supervisord|grep -v "grep" root 21147 0.0 0.2 196780 10940 ? Ss 16:12 0:00 /usr/bin/python /usr/bin/supervisord -c /etc/supervisord.conf
时间: 2024-10-25 09:35:15