注意:仅限于CentOS 7服务器配置安装,不需要图形界面的情景
除了显卡驱动安装方法二参考博客,其余都只参考官方教程
nvidia显卡驱动安装
方法一:官网下载及安装
官方安装步骤:
Once you accept the download please follow the steps listed below
i) `rpm -i nvidia-diag-driver-local-repo-rhel7-390.30-1.0-1.x86_64.rpm'
ii) `yum clean all`
iii) `yum install cuda-drivers`
iv) `reboot`
方法二:ELRpo源安装
1.添加ELRpo源
$ sudo rpm -