# 查看当前时区 timedatectl # 设置时区为上海 sudo timedatectl set-timezone Asia/Shanghai
Ubuntu
cd /etc/netplan ls vim 50-cloud-init.yaml # 应用 sudo netplan apply systemd-resolve --status
参考:https://askubuntu.com/questions/1237685/changing-the-dns-servers-ubuntu-server-20-04-arm64-raspi
← 「Linux」安装yarn环境 网络配置 - ip→