1.查看CentOS显卡型号
# lspci 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09) |
使用lspci命令查看显卡前提是系统识别到此显卡
若显卡没有被识别到将看到如下提示信息
01:00.0 VGA compatible controller: NVIDIA Corporation Device 0f00 (rev a1) |
2.至NVIDIA官网下载相应驱动
http://www.nvidia.cn/Download/index.aspx?lang=cn
3.安装下载后的*.run文件
赋予执行权限
# chmod +x NVIDIA-Linux-x86_64-331.20.run |
执行安装(此命令必须保证完全退出图形界面)
# ./NVIDIA-Linux-x86_64-331.20.run |