Skip to main content

2026 年 11 月 18 日

在 Linux 虚拟机上安装 NVIDIA GRID vGPU 显卡驱动程序

要安装 NVIDIA GRID vGPU 显卡驱动程序,您必须停用默认 NVIDIA 驱动程序,下载 NVIDIA 显卡驱动程序,并在 Linux 虚拟机 (VM) 上配置 PCI 设备。

必备条件

步骤

  1. 将 NVIDIA Linux 显卡驱动程序复制到虚拟机中。

  2. 打开虚拟机的远程终端,或通过键入 Ctrl-Alt-F2 切换到文本控制台,以 root 用户身份登录,然后运行 init 3 命令以关闭 X Windows。

  3. 安装 NVIDIA 驱动程序所需的其他组件。

    sudo yum install gcc-c++
    sudo yum install kernel-devel-$(uname -r) 
    sudo yum install kernel-headers-$(uname -r)
    
  4. 为 NVIDIA GRID vGPU 驱动程序包添加可执行标记。

    chmod +x NVIDIA-Linux-x86_64-version-grid.run
    
  5. 启动 NVIDIA GRID vGPU 安装程序。

    sudo ./NVIDIA-Linux-x86_64-version-grid.run
    
  6. 接受 NVIDIA 软件许可协议,然后选择是以自动更新 X 配置设置。

后续步骤

在 Linux 虚拟机上安装 Horizon Agent。请参阅在 Linux 计算机上安装 Horizon Agent。

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…