From 3b0142cedcde39e4c2097ecd916a870a3ced5ec6 Mon Sep 17 00:00:00 2001 From: Vito Graffagnino Date: Tue, 8 Sep 2020 18:10:49 +0100 Subject: Added the relevent parts of the .config directory. Alss add ssh config --- vimwiki/NvidiaDrivers.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 vimwiki/NvidiaDrivers.md (limited to 'vimwiki/NvidiaDrivers.md') diff --git a/vimwiki/NvidiaDrivers.md b/vimwiki/NvidiaDrivers.md new file mode 100644 index 0000000..71328ca --- /dev/null +++ b/vimwiki/NvidiaDrivers.md @@ -0,0 +1,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` + + -- cgit v1.2.3