Centos 7: Difference between revisions

From Cheatsheet
Jump to navigation Jump to search
Created page with "a"
 
No edit summary
Line 1: Line 1:
a
== Installing NVIDIA drivers ==
 
First run this to get video card version:
[root@vov ~]# lspci | grep -i vga | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 '''''[GeForce GT 640]''''' (rev a1)
 
After you know what card you have go to this site and download the driver for your version of linux.
http://www.nvidia.com/Download/index.aspx?lang=en-us
Make sure you choose 64bit linux as os.
 
When the file is done downloading, move it to the /root folder and fix perms.
 
For me that command looked like:
mv /home/mike/Downloads/NVIDIA-Linux-x86_64-367.44.run /root
chown root.root /root/NVIDIA-Linux-x86_64-367.44.run
chmod +x /root/NVIDIA-Linux-x86_64-367.44.run
 
Now after this you gotta do some stuff in yum.
yum install epel-release -y
yum install dkms glibc-devel.i686 libstdc++-devel.i686
yum update

Revision as of 05:43, 26 August 2016

Installing NVIDIA drivers

First run this to get video card version:

[root@vov ~]# lspci | grep -i vga | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1)

After you know what card you have go to this site and download the driver for your version of linux.

http://www.nvidia.com/Download/index.aspx?lang=en-us

Make sure you choose 64bit linux as os.

When the file is done downloading, move it to the /root folder and fix perms.

For me that command looked like:

mv /home/mike/Downloads/NVIDIA-Linux-x86_64-367.44.run /root
chown root.root /root/NVIDIA-Linux-x86_64-367.44.run
chmod +x /root/NVIDIA-Linux-x86_64-367.44.run

Now after this you gotta do some stuff in yum.

yum install epel-release -y
yum install dkms glibc-devel.i686 libstdc++-devel.i686
yum update