Introduction

Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.

Supervisor是Python开发的,安装前先检查一下系统否安装了Python2.4以上版本。

下面以CentOS7,Python2.7版本环境下,介绍Supervisor的安装与配置步聚:

这是下载supervisor的安装包地址:https://pypi.python.org/pypi/supervisor/

1. wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py -O - | sudo python

2. easy_install supervisor

3. mkdir /etc/supervisor

4. echo_supervisord_conf > /etc/supervisor/supervisord.conf

centos上配置supervisor及网页端显示

以上配置好之后

建好相应的文件夹 mkdir /var/run mkdir /var/log等,再chmod一下文件

supervisord -c /etc/supervisor/supervisord.conf

supervisorctl

再网页上: http://*****:9001就显示出来了。



相关文章:

  • 2022-03-09
  • 2022-02-08
  • 2022-01-08
  • 2021-06-30
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
猜你喜欢
  • 2021-04-13
  • 2022-12-23
  • 2022-02-07
  • 2022-02-07
  • 2021-06-11
  • 2021-09-30
  • 2021-09-06
相关资源
相似解决方案