this is tutorial to install nvidia display driver on enterprise linux
*all of the command must be executed as root user
1. check the nvidia product type
lspci -nn | grep VGA
here you will have the infomation what proprietary driver you should download from www.nvidia.com site.
2. install the Development Tools group packages, kernel headers, kernel devel, and dkms
yum groupinstall "Development Tools"
yum install dkms kerne-devel kernel-headers
3. disable the nouveau driver using your text editor
vim /etc/modprobe.d/blacklist.conf
#add this line
blacklist nouveau
4. go to /boot directory make a copy of initramfs file
cd /boot
mv initramfs-$(uname -r).img initramfs-$(uname -r).img.bak
5. proceed to create new initramfs file
dracut -v initramfs-$(uname -r).img $(uname -r)
6. change inittab to start the system with no X11
vim /etc/inittab
change runlevel to 3
7. restart the system
reboot
8. login in command line as root, run the script to install the driver
./NVIDIA-Linux*.run
follow the information shows, wait until it completed
9. generate the xorg.conf by typing
X -configure
10. copy xorg.conf.new to /etc/X11/xorg.conf
cp xorg.conf.new /etc/X11/xorg.conf
11. change the default runlevel to 5 and then restart your system
vim /etc/inittab
reboot
*all of the command must be executed as root user
1. check the nvidia product type
lspci -nn | grep VGA
here you will have the infomation what proprietary driver you should download from www.nvidia.com site.
2. install the Development Tools group packages, kernel headers, kernel devel, and dkms
yum groupinstall "Development Tools"
yum install dkms kerne-devel kernel-headers
3. disable the nouveau driver using your text editor
vim /etc/modprobe.d/blacklist.conf
#add this line
blacklist nouveau
4. go to /boot directory make a copy of initramfs file
cd /boot
mv initramfs-$(uname -r).img initramfs-$(uname -r).img.bak
5. proceed to create new initramfs file
dracut -v initramfs-$(uname -r).img $(uname -r)
6. change inittab to start the system with no X11
vim /etc/inittab
change runlevel to 3
7. restart the system
reboot
8. login in command line as root, run the script to install the driver
./NVIDIA-Linux*.run
follow the information shows, wait until it completed
9. generate the xorg.conf by typing
X -configure
10. copy xorg.conf.new to /etc/X11/xorg.conf
cp xorg.conf.new /etc/X11/xorg.conf
11. change the default runlevel to 5 and then restart your system
vim /etc/inittab
reboot
Comments
Post a Comment