1. flash ubuntu to SD
2. add wifi net
check hardware
sudo lshw -C network
sudo vi /etc/netplan/50-cloud-init.yaml
edit as
network: wifis: wlan0: dhcp4: true access-points: "wifi_name": password: "wifipassword" version : 2
sudo netplan try
sudo netplan apply
3. replace apt source
cd /etc/apt
cp sources.list sources.list.bak
sudo -i 's/ports.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' sources.list
4. apt update
sudo apt update
标签:netplan,sudo,list,apt,note,sources,install,ubuntu,rasberry From: https://www.cnblogs.com/fundou/p/17062204.html