wsl2インストールnカード

リファレンスブログ

https://blog.csdn.net/xianxi9883/article/details/107358445/

公式インストールドキュメント

https://docs.nvidia.com/cuda/wsl-user-guide/index.html

https://docs.nvidia.com/cuda/wsl-user-guide/index.html#installing-nvidia-drivers

cudawsl2依存関係のダウンロード

https://developer.nvidia.com/cuda/wsl/download

ubuntu20インストールnカード

https://blog.csdn.net/wwlswj/article/details/106364094

cuda10.1インストールパッケージ

https://developer.nvidia.com/cuda-10.1-download-archive-update1

WSL2はWin10ホストのClashプロキシを使用します

export hostip=$(cat /etc/resolv.conf |grep -oP '(?<=nameserver\ ).*')
alias setss='export https_proxy="http://${hostip}:7890";export http_proxy="http://${hostip}:7890";export all_proxy="socks5://${hostip}:7891";'
export hostip=$(cat /etc/resolv.conf |grep -oP '(?<=nameserver\ ).*')
alias setss='export https_proxy="http://${hostip}:4780";

export hostip=$(cat /etc/resolv.conf |grep -oP '(?<=nameserver\ ).*')
export https_proxy="http://${hostip}:7890"
export http_proxy="http://${hostip}:7890"
export all_proxy="socks5://${hostip}:7891"

リブート

 Get-Service LxssManager | Restart-Service

おすすめ

転載: blog.csdn.net/qq_43373608/article/details/107447822