安装后
1.设置静态ip 与dns 参考链接:https://www.cnblogs.com/youname/p/15704027.html、https://www.cnblogs.com/mouseleo/p/14976527.html
sudo vi /etc/netplan/xx-network-manager-all.yaml 照此图
sudo vi /etc/systemd/resolved.conf 只改DNS这行
DNS=8.8.8.8 114.114.114.114 223.5.5.5
sudo systemctl restart systemd-resolved
sudo systemctl enable systemd-resolved
mv /etc/resolv.conf /etc/resolv.conf.bak
ln -s /run/systemd/resolve/resolv.conf /etc/
再次查看 /etc/resolv.conf 即可看到dns地址已更新
2.更换国内源站 参考链接 :https://www.cnblogs.com/zhaipanger/p/12805955.html
重启后正常可设置快照或检查点,方便回滚
标签:www,systemd,sudo,resolv,etc,conf,Ubuntu,18.0,安装 From: https://www.cnblogs.com/xq0422/p/16714872.html