supervisor 安装

1.
安装依赖包
a. setuptools (latest) from http://pypi.python.org/pypi/setuptools.
(pypa-setuptools.tar.gz)

b. meld3 (latest) from http://www.plope.com/software/meld3/
(http://pkgs.fedoraproject.org/repo/pkgs/python-meld3/)

c. elementtree (latest) from http://effbot.org/downloads#elementtree.

python setup.py install

2.
安装supervisor(supervisor-3.0.tar.gz)

https://pypi.python.org/pypi/supervisor

python setup.py install

(默认安装
Installing supervisorctl script to /usr/local/python27/bin
Installing supervisord script to /usr/local/python27/bin
)

3.修改path

a.export PATH=$PATH:/usr/local/python27/bin

b.vi /etc/profile里添加export PATH=$PATH:/usr/local/python27/bin

猜你喜欢

转载自ontheroad-luckhouge.iteye.com/blog/2029450
今日推荐