File tree Expand file tree Collapse file tree 1 file changed +28
-10
lines changed Expand file tree Collapse file tree 1 file changed +28
-10
lines changed Original file line number Diff line number Diff line change 11
11
- 安装方案:
12
12
13
13
```
14
- #第一种
14
+ #第一种(推荐)
15
15
yum install python-setuptools
16
- easy_install pip
17
- pip install supervisor
16
+ easy_install supervisor
18
17
19
18
#第二种
20
19
yum install python-setuptools
21
- easy_install supervisor
20
+ easy_install pip
21
+ pip install supervisor
22
22
23
23
#第三种
24
- wget https://pypi.python.org/packages/source/s/supervisor/supervisor-3.1.3.tar.gz
25
- tar zxvf supervisor-3.1.3.tar.gz
26
- cd supervisor
27
- python setup.py install
28
-
29
- #第四种
30
24
yum install -y epel-release
31
25
yum install -y supervisor
32
26
```
33
27
28
+ - 如果以上还不能安装,或是安装过程出现各种问题,或是安装完成后使用出现问题,应该就是环境有问题。至少我在京东云上发现会有这个问题。环境是 centos 6.8,python 2.6.6
29
+ - 如果你遇到这种问题需要源码安装。
30
+ - 源码和各个依赖的源码下载地址(密码:j797):< http://pan.baidu.com/s/1hsGhNkK >
31
+
32
+ ```
33
+ tar zxvf setuptools-36.6.0.tar.gz
34
+ cd setuptools-36.6.0
35
+ python bootstrap.py install
36
+ python setup.py install
37
+
38
+ tar zxvf meld3.tar.gz
39
+ cd meld3
40
+ python setup.py install
41
+
42
+ tar zxvf elementtree-1.2.6-20050316.tar.gz
43
+ cd elementtree-1.2.6-20050316
44
+ python setup.py install
45
+
46
+ tar zxvf supervisor-3.3.3.tar.gz
47
+ cd supervisor-3.3.3
48
+ python setup.py install
49
+ ```
50
+
51
+
34
52
- 生成配置文件:
35
53
- `echo_supervisord_conf > /etc/supervisord.conf`
36
54
- 创建专门的程序配置文件目录、日志目录:
You can’t perform that action at this time.
0 commit comments