gpt4 book ai didi

linux - 如何在 amazon linux ami 中安装、配置和运行 supervisor?

转载 作者:太空宇宙 更新时间:2023-11-04 12:23:45 26 4
gpt4 key购买 nike

我正在尝试在 amazon linux ami 中安装 supervisor 但无法安装。

我在下面试过:

sudo yum install supervisor - said no supervisor

然后做了

sudo easy_install supervisor

但是我在/etc 找不到 supervisor 文件夹

此外,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 进行检查。

您可以查看 official doc了解更多信息。

关于linux - 如何在 amazon linux ami 中安装、配置和运行 supervisor?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45292883/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com