gpt4 book ai didi

centos - 在 CentOS 6 上安装 OpenVZ

转载 作者:太空宇宙 更新时间:2023-11-03 17:16:58 25 4
gpt4 key购买 nike

我正在尝试在 CentOS 6 上安装 OpenVZ。
我用这个指令来安装 OpenVZ :
https://www.unixmen.com/install-and-configure-openvz-on-centos/

我尝试更新内核,修改 openvz 存储库,但没有任何帮助。这是问题所在:

[root@CentOS-69-64-minimal ~]# yum install vzkernel
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.fra10.de.leaseweb.net
* extras: mirror.fra10.de.leaseweb.net
* openvz-kernel-rhel6: mirror.netinch.com
* openvz-utils: mirror.netinch.com
* updates: mirror.fra10.de.leaseweb.net
Resolving Dependencies
--> Running transaction check
---> Package vzkernel.x86_64 0:2.6.32-042stab131.1 will be installed
--> Processing Dependency: kernel-firmware >= 2.6.32-754.el6 for package: vzkernel-2.6.32-042stab131.1.x86_64
--> Finished Dependency Resolution
Error: Package: vzkernel-2.6.32-042stab131.1.x86_64 (openvz-kernel-rhel6)
Requires: kernel-firmware >= 2.6.32-754.el6
Installed: kernel-firmware-2.6.32-696.30.1.el6.noarch (@updates)
kernel-firmware = 2.6.32-696.30.1.el6
Available: kernel-firmware-2.6.32-696.el6.noarch (base)
kernel-firmware = 2.6.32-696.el6
Available: kernel-firmware-2.6.32-696.1.1.el6.noarch (updates)
kernel-firmware = 2.6.32-696.1.1.el6
Available: kernel-firmware-2.6.32-696.3.1.el6.noarch (updates)
kernel-firmware = 2.6.32-696.3.1.el6
Available: kernel-firmware-2.6.32-696.3.2.el6.noarch (updates)
kernel-firmware = 2.6.32-696.3.2.el6
Available: kernel-firmware-2.6.32-696.6.3.el6.noarch (updates)
kernel-firmware = 2.6.32-696.6.3.el6
Available: kernel-firmware-2.6.32-696.10.1.el6.noarch (updates)
kernel-firmware = 2.6.32-696.10.1.el6
Available: kernel-firmware-2.6.32-696.10.2.el6.noarch (updates)
kernel-firmware = 2.6.32-696.10.2.el6
Available: kernel-firmware-2.6.32-696.10.3.el6.noarch (updates)
kernel-firmware = 2.6.32-696.10.3.el6
Available: kernel-firmware-2.6.32-696.13.2.el6.noarch (updates)
kernel-firmware = 2.6.32-696.13.2.el6
Available: kernel-firmware-2.6.32-696.16.1.el6.noarch (updates)
kernel-firmware = 2.6.32-696.16.1.el6
Available: kernel-firmware-2.6.32-696.18.7.el6.noarch (updates)
kernel-firmware = 2.6.32-696.18.7.el6
Available: kernel-firmware-2.6.32-696.20.1.el6.noarch (updates)
kernel-firmware = 2.6.32-696.20.1.el6
Available: kernel-firmware-2.6.32-696.23.1.el6.noarch (updates)
kernel-firmware = 2.6.32-696.23.1.el6
Available: kernel-firmware-2.6.32-696.28.1.el6.noarch (updates)
kernel-firmware = 2.6.32-696.28.1.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@CentOS-69-64-minimal ~]#

此外,我找不到在 centos 7、debian 9 或 ubuntu 上安装 openvz 的方法。看来 OpenVZ 快要死了。它太糟糕了,因为我经常使用它。

最佳答案

Currently I have vzkernel installed after the same problem.

问题是新版本需要CentOS 7+内核,CentOS 6.9不支持所以我设法下载了旧版本的 vzkernel 包并使用 RPM 安装它。

  1. 下载最新的兼容 RPM

    wget http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab126.2/vzkernel-2.6.32-042stab126.2.x86_64.rpm

  2. 安装

    rpm -ivh vzkernel-2.6.32-042stab126.2.x86_64.rpm

  3. 检查一下

    rpm -qa vzkernel

  4. 利润。

关于centos - 在 CentOS 6 上安装 OpenVZ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51127409/

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