Installing the NVIDIA display driver...
The driver installation is unable to locate the kernel source. Please make sure that the kernel source packages are installed and set up correctly.
If you know that the kernel source packages are installed and set up correctly, you may pass the location of the kernel source with the '--kernel-source-path' flag.
1. install dkms:
sudo yum install epel-release
yum install --enablerepo=epel dkms
2. 重新安装
./cuda_10.0.130_410.48_linux.run --kernel-source-path=/usr/src/kernels/3.10.0-327.el7.x86_64