镜像:
官网服务器版本镜像:ubuntu-20.04.4-live-server-amd64
创建虚拟时选择开启WMX才可以和WSL共存
安装:
系统安装时:
- 配置40G空间
- 选择获取github的公钥自动开启ssh连接
- 选择安装Docker
- 不要选择更新,跳过,默认源比较慢
配置:
开机,直接ssh连接
1. 修改源
sudo vim /etc/apt/sources.list
# vim中输入dG删除所有
# 中科大源:
deb https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
# 更新源:
sudo apt update
sudo apt upgrade
标签:cn,universe,mirrors,multiverse,配置,Ubuntu,ubuntu,安装,focal From: https://www.cnblogs.com/liqiujiong/p/16919738.html