生物分子模拟论坛

 找回密码
 我想注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 10996|回复: 1

[Centos] Centos7安装Nvidia显卡驱动

[复制链接]
发表于 2015-1-7 21:55:55 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,下载更多分子模拟资源。

您需要 登录 才可以下载或查看,没有帐号?我想注册

x
1.安装gcc,(显卡驱动安装时需要)最好同时安装g++,后边会用到. 具体命令:yum install gcc-c++
2.禁用The Nouveau kernel driver.  大体同上一篇相同,不同之处是,blacklist.conf的位置是在 /usr/lib/modprobe.d/dist-blacklist.conf,并且在加上blacklist nouveau之后还要加上一行options nouveau modeset=0
3.安装kernel-devel包
     linux系统,未安装该包时会提示:  
     error:unable to find the kernel source tree for the currently running kernel. please make sure you have installed the kernel source files for your kernel and that htey are properly configured; on red hat linux system, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. if you know the correct kernel source files are installed ,you may specify the kernel source path with the '--kernel-source-path' command line option.
     安装kernel-devel包:yum install kernel-devel-内核版本号,(内核版本号通过uname -r查看),(我的是yum install kernel-devel-3.10.0-123.el7.x86_64
),然后在安装显卡驱动:./NVIDIA-Linux-x86_64-340.58.run

评分

参与人数 1金币 +10 收起 理由
川大-灰太狼 + 10 很给力!

查看全部评分

发表于 2015-1-8 19:49:54 | 显示全部楼层
支持!有用的东西。
您需要登录后才可以回帖 登录 | 我想注册

本版积分规则

QQ|分迪科技|小黑屋|手机版|Archiver|生物分子模拟论坛 ( 蜀ICP备14009200号-3 )

GMT+8, 2024-3-29 19:41 , Processed in 0.068982 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表