我正在尝试在RHEL8上安装uWSGI服务。之后,我应该可以执行systemctl start uwsgi
。
据我从在线资源中得知,这应该有效:yum install uwsgi
(或dnf install uwsgi
),但给出Error: Unable to find a match: uwsgi
。大多数资源都在RHEL的早期版本上,但是我无法找到特定于RHEL8的任何东西。
我已启用EPEL存储库。 yum repolist
给出:
repo id repo name status
*epel Extra Packages for Enterprise Linux 8 - x86_64 3678
rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 8289
rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 3315
rhel-8-for-x86_64-supplementary-rpms Red Hat Enterprise Linux 8 for x86_64 - Supplementary (RPMs) 28
[https://uwsgi-docs.readthedocs.io/en/latest/Systemd.html,我尝试了'手动'方法,但到目前为止也没有很成功,如果可能的话,我希望使用系统软件包。
检查整个存储库中软件包是否可用的好资源是pkgs.org。从那里您可以看到uwsgi
在RHEL 8基本存储库中还不存在。
由于软件包/迁移的复杂性,我认为他们(RedHat)将其保留一段时间以供发布。
您可以尝试从第三方存储库安装uwsgi
(免责声明:我是维护者):
sudo dnf install https://extras.getpagespeed.com/release-el8-latest.rpm
sudo dnf install uwsgi
注意:
uwsgi
服务(似乎可以正常工作)以外,我没有尝试过其他方法。只是为了好玩而已:)uwsgi
,那么我认为升级到它应该没有任何问题。因此,请随意将其用作长期或临时解决方案。可以找到可安装软件包的完整列表here。