centos6.9 安装supervisor

前端之家收集整理的这篇文章主要介绍了centos6.9 安装supervisor前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
  1. 系统环境:

[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

猜你在找的CentOS相关文章