Install CentOS7.0Nvidia graphics card

Source: Internet
Author: User
1. after downloading the driver from the Nvidia official website and searching for the driver, do not click it directly, but click "right Jian", SaveLinkas... otherwise, there will be a situation where there will be no activity during the download for half a day. It is best not to have Chinese characters in the storage path. My storage path is ~ /Downloads/NVIDIA-Linux-x86_64-346.47.run2 shielding default nouveau use su command to switch to the root user: suroot open/lib/mod 1 in Nvidia official website download the corresponding driver
After searching for the corresponding driver, do not click it directly, but click "right", Save Link...
Otherwise, there will be no static download for half a day.
It is best not to have Chinese characters in the storage path.
My storage path is ~ /Downloads/NVIDIA-Linux-x86_64-346.47.run

2. Shield the default nouveau
Use the su command to switch to the root user: su root
Open/lib/modprobe. d/dist-blacklist.conf

Comment out diafb.
# Blacklist nvidiafb

Then add the following statement:
Blacklist nouveau
Options nouveau modeset = 0

3. Reconstruction of initramfs image

Mv/boot/initramfs-$ (uname-r). img/boot/initramfs-$ (uname-r). img. bak
Dracut/boot/initramfs-$ (uname-r). img $ (uname-r)

4. change the running level to text mode.
Systemctl set-default multi-user.target

5. restart and log on as the root user.
Reboot

6. check whether nouveau is disabled.
Ls mod | grep nouveau

If no relevant content is displayed, it indicates that it is disabled.

7. enter the directory where the downloaded driver is located.
Chmod + x NVIDIA-Linux-x86_64-346.47.run
/NVIDIA-Linux-x86_64-346.47.run

During installation, select accept
If you are prompted to modify xorg. conf, select yes

8. change the running level to the graphic mode.
Systemctl set-default graphical.tar get

9 restart, OK

You can see the nvidia x Server Settings menu in Applications -- Other.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.