安装Ubuntu 18.0.4


undefinedundefined

 

安装后

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

 

 

重启后正常可设置快照或检查点,方便回滚

posted @   会bk的鱼  阅读(99)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· AI与.NET技术实操系列(六):基于图像分类模型对图像进行分类
点击右上角即可分享
微信分享提示