我正在尝试在 amazon linux ami 中安装主管,但无法做到。
我在下面试过:
sudo yum install supervisor - said no supervisor
然后做了
sudo easy_install supervisor
但我在 /etc 找不到主管文件夹
另外,supervisorctl 命令不存在
有什么帮助吗?
我正在尝试在 amazon linux ami 中安装主管,但无法做到。
我在下面试过:
sudo yum install supervisor - said no supervisor
然后做了
sudo easy_install supervisor
但我在 /etc 找不到主管文件夹
另外,supervisorctl 命令不存在
有什么帮助吗?
这是我运行时得到的输出sudo easy_install supervisor
[ec2-user@ip address ~]$ sudo easy_install supervisor
Searching for supervisor
Reading https://pypi.python.org/simple/supervisor/
Best match: supervisor 3.3.3
Downloading https://pypi.python.org/packages/31/7e/788fc6566211e77c395ea272058eb71299c65cc5e55b6214d479c6c2ec9a/supervisor-3.3.3.tar.gz#md5=0fe86dfec4e5c5d98324d24c4cf944bd
Processing supervisor-3.3.3.tar.gz
Writing /tmp/easy_install-fl_Ycg/supervisor-3.3.3/setup.cfg
Running supervisor-3.3.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-fl_Ycg/supervisor-3.3.3/egg-dist-tmp-QhXQQZ
warning: no previously-included files matching '*' found under directory 'docs/.build'
creating /usr/local/lib/python2.7/site-packages/supervisor-3.3.3-py2.7.egg
Extracting supervisor-3.3.3-py2.7.egg to /usr/local/lib/python2.7/site-packages
Adding supervisor 3.3.3 to easy-install.pth file
Installing echo_supervisord_conf script to /usr/local/bin
Installing pidproxy script to /usr/local/bin
Installing supervisorctl script to /usr/local/bin
Installing supervisord script to /usr/local/bin
Installed /usr/local/lib/python2.7/site-packages/supervisor-3.3.3-py2.7.egg
Processing dependencies for supervisor
Finished processing dependencies for supervisor
注意这些行:
Installing supervisorctl script to /usr/local/bin
Installing supervisord script to /usr/local/bin
所以它们可以在 中找到/usr/local/bin
,应该在你的PATH
. 你可以用echo $PATH
.
您可以查看官方文档以获取更多信息。