zoukankan      html  css  js  c++  java
  • Fedora21源配置与显卡安装

    1. 安装fastestmirror

    Fedora的源速度很慢,令人很烦恼,不过它有个自动选最快的源包。

    yum install yum-fastestmirror yum-presto

    它会判断你的速度并找到最快的源

    2.安装vim

    yum -y install vim

    3.安装依赖

    yum -y install gcc
    yum -y install kernel*  # 升級內核

    4.切换到文本模式

    rm /etc/systemd/system/default.target
    ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target

    5.nouveau加入黑名单

    [root@localhost ~]# vim /etc/modprobe.d/blacklist.conf

    加入下面的代码:

    blacklist nouveau

    6.重建initramfs

    [root@localhost ~]# dracut -fv /boot/initramfs-$(uname -r).img $(uname -r)

    7.reboot

    8. 找到内核版本号

    [root@localhost kernels]# cd /usr/src/kernels
    [root@localhost kernels]# ls -l

    9. 安装驱动

    [root@localhost ~]# chmod u+x NVIDIA-Linux-x86_64-346.64.run
    [root@localhost ~]#  ./NVIDIA-Linux-x86_64-346.47.run --kernel-source-path=/usr/src/kernels/3.19.3-200.fc21.x86_64
  • 相关阅读:
    HDU1316 fib+高精度
    HDU1868
    HDU2586 LCA
    HDU1113 字符串处理
    HDU1115 几何+多边形重心
    HDU1124
    HDU1110 几何
    HDU1103
    HDU2670 DP
    linux 下查看机器是cpu是几核的
  • 原文地址:https://www.cnblogs.com/haoyufeng/p/4409650.html
Copyright © 2011-2022 走看看