解决步骤:
1、查看Ubuntu版本
cat /etc/issue
2、vim /etc/resolv.conf
修改为
nameserver 114.114.114.114
3、重启网络服务
/etc/init.d/networking restart
本文介绍如何在Ubuntu系统中更改DNS设置以使用114.114.114.114作为名称服务器,包括查看Ubuntu版本、修改resolv.conf文件及重启网络服务的具体步骤。
解决步骤:
1、查看Ubuntu版本
cat /etc/issue
2、vim /etc/resolv.conf
修改为
nameserver 114.114.114.114
3、重启网络服务
/etc/init.d/networking restart
1544

被折叠的 条评论
为什么被折叠?