安装 debian && ubuntu
安装 windows 子系统的过程在这里就不必过多赘述了,网上相关教程已经汗牛充栋了。
不过要注意的是,linux 子系统对于 win10 的版本有限制,一般来说,升级到最新版本是醉吼的。
更换阿里源
1. 查看系统发行版本
debian
debian@root-pc:zx$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.7 (stretch)
Release: 9.7
Codename: stretch
ubuntu
ubuntu@root-pc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
2. 备份默认的源
sudo cp /etc/apt/sources.list /et