登录:
ssh -p 端口 用户名@服务器地址
ssh -p 8888 [email protected]
然后输入密码,如果初次登录还要保存密钥,输入yes
服务器上已经预装Python3.6.7 Keras TensorFlow torch 等东西
安装cuda:
到CUDA官网上根据版本下载
当执行sudo时,出现 -bash: sudo: command not found
执行
apt-get update
apt-get install sudo
再次执行安装,Installation failed. See log at /var/log/cuda-installer.log for details.
log:ERROR: please make sure you have the package 'module-init-tools' or 'kmod' installed.
遂安装kmod
apt-get install kmod
再次执行安装,Installation failed.
log:ERROR: An NVIDIA kernel module 'nvidia-uvm' appears to already be loaded in your kernel.
貌似是因为GPU正在使用,遂问师兄,被告知无需安装CUDA,终。