[CUDA]关于centos如何安装cuda driver
2016-01-13 12:52
489 查看
yum -y update
yum -y groupinstall “GNOME Desktop” “Development Tools”
yum -y install kernel-devel
Edit /etc/default/grub. Add “rd.driver.blacklist=nouveau nouveau.modeset=0″ to “GRUB_CMDLINE_LINUX”
grub2-mkconfig -o /boot/grub2/grub.cfg
List available kernels: awk -F\’ ‘$1==”menuentry ” {print $2}’ /etc/grub2.cfg
Use grub2-set-default to set the updated kernel to the default. The kernels are enumerated starting at 0
Reboot
Download the appropriate Nvidia driver for your card
Switch from graphical to text mode: systemctl isolate multi-user.target
Run the Nvidia driver installer
Remove the nouveau driver: yum remove xorg-x11-drv-nouveau
Backup old the old initramfs: mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
Create new initramfs: dracut /boot/initramfs-$(uname -r).img $(uname -r)
Reboot
yum -y groupinstall “GNOME Desktop” “Development Tools”
yum -y install kernel-devel
Edit /etc/default/grub. Add “rd.driver.blacklist=nouveau nouveau.modeset=0″ to “GRUB_CMDLINE_LINUX”
grub2-mkconfig -o /boot/grub2/grub.cfg
List available kernels: awk -F\’ ‘$1==”menuentry ” {print $2}’ /etc/grub2.cfg
Use grub2-set-default to set the updated kernel to the default. The kernels are enumerated starting at 0
Reboot
Download the appropriate Nvidia driver for your card
Switch from graphical to text mode: systemctl isolate multi-user.target
Run the Nvidia driver installer
Remove the nouveau driver: yum remove xorg-x11-drv-nouveau
Backup old the old initramfs: mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
Create new initramfs: dracut /boot/initramfs-$(uname -r).img $(uname -r)
Reboot
相关文章推荐
- Linux 技巧:让进程在后台可靠运行的几种方法
- Linux相关问题
- 在linux下编译安装python3.5.1问题解决
- Linux 分区和目录解析
- Linux 分区和目录
- Linux分区
- Linux下控制(统计)文件的生成的C代码实现
- ECS Linux下解压rar格式的压缩文件
- VMware安装Centos时看不到“下一步”按钮
- Linux 端口管理
- Linux kill 杀死指定进程
- linux命令每天必学(15)之tail 命令
- centos7.1 部署环境
- centos 7 下安装pandas的小问题
- linux中断流程详解
- Linux目录结构
- centos,yum安装时报错could not retrieve mirrorlist,resolve.conf配置,dns配置错误
- 解决linux kernerl3.13 安装vmware10 vnet错误
- linux非root请求1024以下低端口
- linux常用命令——文件传输(三)