centos6.9 安装supervisor
时间:2017-06-08 13:19 来源:blog.51cto.com 作者:yawei555
-
系统环境:
[root@vmxiamen_WEB10 huwei]# cat /etc/redhat-release
CentOS release 6.9 (Final)
2.安装python-setuptools
[root@vmxiamen_WEB10 huwei]# yum install python-setuptools
3.安装supervisor
[root@vmxiamen_WEB10 huwei]# easy_install supervisor
因为是境外站点,等很久.
4.
[root@vmxiamen_WEB10 huwei]# echo_supervisord_conf >/etc/supervisord.conf
[root@vmxiamen_WEB10 huwei]# vim /etc/supervisord.conf
[root@vmxiamen_WEB10 huwei]# mkdir -p /etc/supervisor
[root@vmxiamen_WEB10 huwei]# vim /etc/supervisord.conf
5.修改配置文件最后两行:
[include]
files = /etc/supervisor/*.conf
6. 启动
[root@vmxiamen_WEB10 huwei]# supervisord -c /etc/supervisord.conf
[root@vmxiamen_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
(责任编辑:IT)
2.安装python-setuptools
3.安装supervisor
因为是境外站点,等很久. 4.
6. 启动
(责任编辑:IT) |