centos 安装NVIDIA显卡出现的问题

在NVIDIA官网上下载对应的驱动

https://www.nvidia.com/download/driverResults.aspx/134859/en-us

cuda下载地址

https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=CentOS&target_version=7&target_type=rpmlocal

centos7禁用默认的驱动nouveau

用了这两行命令

echo 'blacklist nouveau' >> /etc/modprobe.d/blacklist.conf dracut /boot/initramfs-$(uname -r).img $(uname -r) --force
这个方法还是谨慎操作!我不清楚为什么要搞这两步,每次搞完都无法登录系统,只能从rescue模式进去系统!

from https://linuxconfig.org/nvidia-geforce-driver-installation-on-centos-7-linux-64-bit
http://www.360doc.com/content/14/1217/20/5470123_433706386.shtml
按照教程操作是直接把yum不知道怎么删了

-bash: yum: command not found
安装yum
https://blog.csdn.net/qq_37460356/article/details/79568387
安装内核参考的这个–kernel-source-path’ command line option.
https://blog.csdn.net/xhz1234/article/details/9158531

这个教程安装NVIDIA显卡及禁用nouveau
https://www.dedoimedo.com/computers/centos-7-nvidia.html
https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-centos-7-linux

删除多余的内核
https://blog.csdn.net/chen798213337/article/details/60469472

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值