Installation of NVIDIA Drivers in RHEL/CentOS and Fedora
发布日期:2021-09-08 01:45:17 浏览次数:29 分类:技术文章

本文共 848 字,大约阅读时间需要 2 分钟。

1、首先安装所需的软件:

# yum groupinstall "Development Tools"# yum install kernel-devel kernel-headers dkms

2 、查看自己的显卡型号:

# lspci -nn | grep VGA
[root@Jarvis ]# lspci -nn | grep VGA00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 18)02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 540M] [10de:0df4] (rev a1)能够看到自己的显卡型号。

3、下载对应驱动:

4、把如今显卡的驱动添�黑名单:

vim /etc/modprobe.d/blacklist.conf  加入�:blacklist nouveau

5、Next create a new “initramfs” file and taking backup of existing.

# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak  # dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
又一次启动电脑,执行在级别3上安装。

安装完毕后

X -configure
cp /root/xorg.conf.new /etc/X11/xorg.conf

重新启动系统成功安装。

原文:http://www.tecmint.com/install-nvidia-drivers-in-linux/

转载地址:https://blog.csdn.net/weixin_34310369/article/details/85630745 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:《演讲之禅:一位技术演讲家的自白》读书笔记
下一篇:Java POI 读取word文件

发表评论

最新留言

不错!
[***.144.177.141]2023年05月30日 23时14分03秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

最新文章