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/
Installation of NVIDIA Drivers in RHEL/CentOS and Fedora,布布扣,bubuko.com
Installation of NVIDIA Drivers in RHEL/CentOS and Fedora
原文:http://blog.csdn.net/hanglinux/article/details/24106909