zoukankan      html  css  js  c++  java
  • Installation of NVIDIA Drivers in RHEL/CentOS and Fedora

    1、首先安装所需的软件:

    # yum groupinstall "Development Tools"
    # yum install kernel-devel kernel-headers dkms

    2 、查看自己的显卡型号:

    # lspci -nn | grep VGA
    
    [root@Jarvis ]# lspci -nn | grep VGA
    00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 18)
    02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 540M] [10de:0df4] (rev a1)
    能够看到自己的显卡型号。
    

    3、下载对应驱动:http://www.nvidia.com/Download/index.aspx

    4、把如今显卡的驱动添�黑名单:

    vim /etc/modprobe.d/blacklist.conf  加入�:blacklist nouveau

    5、Next create a new “initramfs” file and taking backup of existing.

    # mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak  
    # dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
    又一次启动电脑,执行在级别3上安装。

    安装完毕后

     X -configure
    cp /root/xorg.conf.new /etc/X11/xorg.conf

    重新启动系统成功安装。

    原文:http://www.tecmint.com/install-nvidia-drivers-in-linux/

  • 相关阅读:
    P1629 邮递员送信
    P1119 灾后重建
    最短路问题
    P1194 买礼物
    最小生成树
    P1038 神经网络
    P2661 信息传递
    mysql 5.7启动报错
    docker flannel网络部署和路由走向分析
    k8s---无头服务
  • 原文地址:https://www.cnblogs.com/blfshiye/p/3762142.html
Copyright © 2011-2022 走看看