当前位置首页 > Fedora知识

InstallationofNVIDIADriversinRHEL/CentOSandFedora

阅读次数:303 次  来源:admin  发布时间:

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

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

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

# lspci -nn | grep VGA
[root@Jarvis ]# lspci -nn | grep VGA
00: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、下载对应驱动:http://www.nvidia.com/Download/index.aspx

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/

上一篇:[转]EeeBox安裝Debian後驅動Wireless筆記
下一篇:Linux内核书籍