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