阿里云服务器安装nvidia驱动

首先在自己本机下载对应的驱动   https://www.nvidia.cn/drivers/lookup/

 

在阿里云服务器做如下检查和设置 

sudo systemctl status sshd  # 应显示 "active (running)"

vim /etc/ssh/sshd_config   #检查认证方式匹配

## 如果使用密码认证
PasswordAuthentication yes
## 如果使用密钥认证
PubkeyAuthentication yes
##保存退出
sudo systemctl restart sshd  ##重启 SSH 服务生效

本地电脑操作 

方法一  打开cmd窗口

scp NVIDIA-Linux-x86_64-570.133.20.run root@aliyun_ip:/tmp  
 ##替换 aliyun_ip 为实际 IP(如 119.23.55.16)。
#处理首次连接提示(如出现)
The authenticity of host 'aliyun_ip' can't be established.
...
Are you sure you want to continue connecting (yes/no/[fingerprint])?
#输入密码
root@aliyun_ip's password:

## 验证上传

ssh root@aliyun_ip
ls /tmp  # 应显示 NVIDIA-Linux-x86_64-570.133.20.run

方法二  使用powerShell 等软件上传下载好的驱动;

在服务器运行安装脚本

##赋予安装包执行权限
chmod +x NVIDIA-Linux-x86_64-570.133.20.run
#运行安装脚本
sudo ./NVIDIA-Linux-x86_64-570.133.20.run

接下来就是按照系统提示操作

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值