Nvidia proprietary drivers and RHEL6
https://linux-old.xvx.cz/2011/01/nvidia-proprietary-drivers-and-rhel6/
Sometimes you need to run Nvidia proprietary drivers in various linux distributions.
I was able to run it on standard RHEL 6.0 installed as “Desktop” with the following commands:
Update the system and install the necessary packages
1
2
3
yum update
yum install gcc kernel-devel
reboot
Blacklist the nouveau driver
1
2
sed -i '/root=/s|$| rdblacklist=nouveau vga=791|' /boot/grub/grub.conf
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
Change the initrd image:
1
2
mv "/boot/initramfs-$(uname -r).img" "/boot/initramfs-$(uname -r)-nouveau.img"
dracut "/boot/initramfs-$(uname -r).img" "$(uname -r)"
Remove the nouveau driver and reboot:
1
2
yum remove xorg-x11-drv-nouveau
reboot
Stop the X server and run the Nvidia installation process from command line
1
2
3
init 3
chmod +x NVIDIA-Linux-x86-260.19.29.run
./NVIDIA-Linux-x86-260.19.29.run
Enjoy :-)
This post is licensed under CC BY 4.0 by the author.