2018-08-20

1.下载

wget https://pypi.Python.org/packages/44/80/d28047d120bfcc8158b4e41127706731ee6a3419c661e0a858fb0e7c4b2d/supervisor-3.3.0.tar.gz

2.解压

tar zxf supervisor-3.3.0.tar.gz

3.进入目录

cd supervisor-3.3.0

4.安装

python setup.py install

5.生成配置文件

echo_supervisord_conf > /etc/supervisor.conf

mkdir /etc/supervisor

cd /etc/supervisor/

mkdir logs

sudo chmod -R 777 logs

mkdir conf.d

sudo chmod +x conf.d

6.建立软连接

ln -s /etc/supervisord.conf /etc/supervisor/supervisord.conf

7.修改配置,最后一行


8.其他配置请参考linux centos7安装supervisor

你可能感兴趣的:(2018-08-20)