您的位置:首页 > 运维架构 > Linux

Installation of NVIDIA Drivers in RHEL/CentOS and Fedora

2014-05-31 10:33 441 查看
1、首先安装所需的软件:

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


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

# lspci -nn | grep VGA
[code][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/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: