CentOS 7.0 installation nvidia driver

Source: Internet
Author: User

Entos 7.0 NVIDIA graphics card installation steps:

1 Download the driver on the NVIDIA network
After searching for the corresponding driver, do not point directly, but right Jian, Save Link as ...
Otherwise, there will be a half-day download of the situation.
It is best not to have Chinese on the path of storage.
The path I'm storing is ~/downloads/nvidia-linux-x86_64-346.47.run.

2 Shield default with Nouveau
Use the SU command to switch to the root user: Su root
Open/lib/modprobe.d/dist-blacklist.conf

Comment out the NVIDIAFB.
#blacklist NVIDIAFB

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

3 Rebuilding Initramfs Image step

mv/boot/initramfs-$ (uname-r). img/boot/initramfs-$ (uname-r). Img.bak
dracut/boot/initramfs-$ (UNAME-R). IMG $ (UNAME-R)

4 Modifying the run level to text mode
Systemctl Set-default Multi-user.target

5 reboot, login with root user
Reboot

6 See if Nouveau has been disabled
LS MoD | grep nouveau

If the relevant content is not displayed, the description is disabled.

7 Enter the directory where the driver is downloaded
chmod +x Nvidia-linux-x86_64-346.47.run
./nvidia-linux-x86_64-346.47.run

During the installation process, select the Accept
If you are prompted to modify xorg.conf, select Yes

8 Modifying the run level back to graphics mode
Systemctl Set-default Graphical.target

9 Reboot, OK

The NVIDIA X Server settings menu can be seen in Applications--other.

Note: If you are unable to enter ghome after installation, you can uninstall the nvidia driver using root login below the command line, with the following syntax:

./nvidia-linux-x86_64-346.47.run --uninstall

CentOS 7.0 installation nvidia driver

Related Article

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.