此教程是介绍于 CentOS 7 以上的 Linux 系统中安装 NVIDIA 显卡驱动和 CUDA Toolkit .此文中以 CentOS 7.4 64 bit 为例,显卡型号为 NVIDIA Tesla P4,CUDA 9.0,所有操作在终端以 root 身份运行 .1 先安装好 Linux CentOS 7.4 操作系统,建议直接 minimal installation,也就是大部分包都不安装,桌面也不需要.2 查看系统内核版本# uname -r3.10.0-693.el7.x86_…