CentOS 7.0 Nvidia顯卡安裝步驟

來源:互聯網
上載者:User

標籤:msu   ons   6.4   run   modprobe   emc   mfs   安裝步驟   set   

from: http://blog.sina.com.cn/s/blog_49c0985a0102v3fa.html

 

CentOS 7.0 Nvidia顯卡安裝步驟:

1 在英偉達官網下載相應驅動
搜尋出相應的驅動後,不要直接點,而是右健,Save Link as...
否則,會出現下載半天沒動靜的情況。
存放的路徑上最好不要有中文。
我存放的路徑是 ~/Downloads/NVIDIA-Linux-x86_64-346.47.run

2 屏蔽預設帶有的nouveau
使用su命令切換到root使用者下: su root
開啟/lib/modprobe.d/dist-blacklist.conf

將nvidiafb注釋掉。
#blacklist nvidiafb

然後添加以下語句:
blacklist nouveau
options nouveau modeset=0

3 重建initramfs image步驟

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak
dracut /boot/initramfs-$(uname -r).img $(uname -r)

4 修改運行層級為文字模式
systemctl set-default multi-user.target

5 重新啟動, 使用root使用者登陸
reboot

6 查看nouveau是否已經禁用
ls mod | grep nouveau

如果沒有顯示相關的內容,說明已禁用。

7 進入下載的驅動所在目錄
chmod +x NVIDIA-Linux-x86_64-346.47.run
./NVIDIA-Linux-x86_64-346.47.run

安裝過程中,選擇accept
如果提示要修改xorg.conf,選擇yes

8 修改運行層級回圖形模式
systemctl set-default graphical.target

9 重新啟動,OK

在Applications--Other可以看見NVIDIA X Server Settings菜單。

CentOS 7.0 Nvidia顯卡安裝步驟

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.