服务器显卡驱动安装NVIDIA-1080Ti

服务器显卡驱动安装

主要参考的安装方式:以下操作在主机中,并非使用远程登录方式,未验证远程登录方式是否可行

需要:

显卡驱动的 *.run 文件

显卡驱动安装第一种方法:https://askubuntu.com/questions/149206/how-to-install-nvidia-run

As the error states, you are still running an X server. This error occurs when you try to install the Nvidia .run files while logged in.

Make sure you are logged out.Kill X server

  • Hit

    Ctrl+Alt+F1


and login using your credentials.
* kill your current X server session by typing

sudo service lightdm stop

or

sudo lightdm stop

  • Enter runlevel 3 by typing

sudo init 3

Install your *.run file.

you change to the directory where you have downloaded the file by typing for instance cd Downloads. If it is in another directory, go there. Check if you see the file when you type ls NVIDIA*
Make the file executable with chmod +x ./your-nvidia-file.run
Execute the file with

sudo ./your-nvidia-file.run

You might be required to reboot when the installation finishes. If not, run sudo service lightdm start or sudo start lightdm to start your X server again

第一种方法不行后的方法:https://askubuntu.com/questions/698730/installing-nvidia-driver-on-kubuntu-15-10x64-the-distribution-provided-pre-inst

The distribution-provided pre-install script failed! Continue installation anyway

  • 由于已经杀了X-server ,还是不行的话,出现上述报错,这时候使用第二种方法,这种方法使用前需要先将以前的NVIDIA相关驱动删除

sudo apt-get purge nvidia*

  • 对系统进行升级,并找到最新的NVIDIA驱动,通过:

sudo apt-get update

apt-cache search nvidia binary

  • 依照版本,选择最新的驱动,依情况而定,并安装:

sudo apt-get install nvidia-375

  • 最后,重启即可:

sudo reboot

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值