我无法从官方仓库安装nginx 1.22.1

j9per5c4  于 2023-11-17  发布在  Nginx
关注(0)|答案(1)|浏览(262)

我在Oracle Linux 8.8上有一个虚拟机,我需要安装nginx-1.22.1,但只有nginx-1.14.1版本可以从官方存储库安装:

  1. https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/index.html

字符串
此版本nginx-1.22.1存在于此存储库中。此外,此存储库已启用:

  1. [ol8_appstream]
  2. name=Oracle Linux 8 Application Stream ($basearch)
  3. baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/appstream/$basearch/
  4. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
  5. gpgcheck=1
  6. enabled=1


我已经执行了命令:

  1. yum clean all
  2. yum makecache


但执行后:

  1. yum install nginx


yum管理器只能安装1.14.1版本:

  1. nginx x86_64 1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e


你能帮帮我吗?
我不知道如何解决这个问题

zd287kbt

zd287kbt1#

根据有关模块和应用程序流的Oracle Linux 8文档:

  1. sudo dnf module enable nginx:1.22
  2. sudo dnf install nginx

字符串

相关问题