首先,要确定你的系统没有升级过内核(此方法只在2054版内核上有效,否则会导致进桌面时显卡驱动失效!!)然后在终端下su成root,关闭SULINUX:
[code][root@charon fc5-nv]# setsebool -P allow_execstack=1[/code]
然后在 http://beta.glwb.info/nvidia/
上下载
引用:xorg-x11-drv-nvidia-1.0.8178-0.lvn.5.i386.rpm
nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm
这两个包;
在http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/
上下载与自己系统架构相同的kernel-devel包(用uname -m查看,是i586的就下kernel-devel-2.6.15-1.2054_FC5.i586.rpm,是i686的就下kernel-devel-2.6.15-1.2054_FC5.i686.rpm),并安装:
[code]rpm -ivh
kernel-devel-2.6.15-1.2054_FC5.i686.rpm[/code]
下载http://www.mjmwired.net/resources/files/nvidia-kmod-mjm.spec
然后执行:
[code]rpmbuild --rebuild --target `uname -m` nvidia-kmod-*.src.rpm
rpm -ivh nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm
rpmbuild -bb ./nvidia-kmod-mjm.spec --target `uname -m
cp -v /usr/src/redhat/RPMS/`uname -m`/kmod-nvidia* .
rpm -ivh kmod-nvidia-1.0.8178-0.lvn.3.2.6.15_1.2054_FC5.i686.rpm xorg-x11-drv-nvidia-1.0.8178-0.lvn.5.i386.rpm
chkconfig --level 35 nvidia-glx on
/etc/init.d/nvidia-glx start[/code]
这是该重新启动系统了
reboot
系统启动成功后进入桌面,我们来验证一下驱动是否安装成功:
点击应用程序-系统工具-NVIDIA DISPLAY SETTING,如果左面有多个选项则驱动安装成功!!
lbing2002 于 2009-06-13 22:48:00发表:
感谢楼主啊