blob: 71328ca9b323185253d8346fee386d6cca84ff94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
***Installation of Nvidia Drivers***
1. First need to ensure that the kernel development and header packages are installed.
For Scientific Linux/RHEL/Centos or Fedora type the following yum commands:
`yum groupinstall "Development Tools"`
`yum install kernel-devel kernel-headers dkms`
2. Before installing the drivers, need the driver product type:
`lspci -nn | grep VGA`
which will produce output such as the following:
`01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108GL [Quadro 600] [10de:0df8] (rev a1)`
then go to the [NVIDIA](https://www.nvidia.com/Download/index.aspx) official
website and download the appropriate linux driver,
in this case for the Quadro 600 driver.
3. Disable the Nouveau Driver. This can be done by editing
4. `/etc/modprobe.d/blacklist.conf` and adding the line `blacklist nouveau`.
5. In addition the following line can be added to the boot options by
6. editing `/etc/default/grub` and adding `nouveau.blacklist`
option to the line:
`GRUB_CMDLINE_LINUX_DEFAULT="nouveau.blacklist=1"`
Then run `grub2-mkconfig -o /boot/grub2/grub.cfg`
7. Create a new initramfs file after taking a backup of the existing one, as follows:
`mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak`
`dracut -v /boot/initramfs-$(uname -r).img $(uname -r)`
`init 3`
`X -configure`
`reboot`
8. To install the driver make sure that the X-server is stopped (e.g. systemctl stop X ;
or /etc/init.d/gdm stop ; or killall X ; etc.). The can run the Nvidia driver install script:
`sh NVIDIA-Linux-x86_64-390.10.run`
9. Then can reboot into Xwindow by typing `init 5`
|