Disclaimer: This article is a blogger original article, support the original, reproduced, please attach the original source link and this statement.
This link address: https://www.cnblogs.com/wannengachao/p/11943506.html
Driver Installation & cuda
First, the preparatory work, see if installed by default nouveau,
nouveau is a third-party linux nvidia driver, first disable it to install nvidia driver.
The recommended iclone nouveau configuration is optional =. =
1 nouveau driver disabled ..
lsmod | grep nouveau
Query whether preinstallednouveaud
If not, skip the following steps 2-5.
2. Edit /etc/modprobe.d/blacklist.conf, behind the file to the blacklist nouveau
3.备份 the initramfs file
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak
4. Re-establish the initramfs file
dracut -v /boot/initramfs-$(uname -r).img $(uname -r) --force
5. reboot
reboot
Second, download the driver to perform the installation
1. Execute: init 3
2. Perform installation ./NVIDIA-Linux-**** (step by step installation prompts can be installed)
3. Perform Post-Installation Check if echoing the success: nvidia-smi
Third, resolve installation error
1. The figure below error: Error: The new kernel driver is currently being used in your system, this driver is not compatible with NVIDIA driver
solve:
1.1 rmmod again
1.2 (2-5 freshman again operate sequentially, again mounted)
2. FIG given the need to install gcc: yum install gcc