美文网首页
ubuntu使用apt-get update无法解析阿里云镜像

ubuntu使用apt-get update无法解析阿里云镜像

作者: adzhua | 来源:发表于2019-02-20 10:15 被阅读0次

问题:ubuntu服务器通过代理服务器连接网络,使用apt-get update无法解析阿里云镜像

解决方法:在etc目录下找到resolv.conf,在最后添加

nameserver 8.8.8.8

nameserver 114.114.114.114

nameserver 代理服务器ip(若没有使用代理服务则为127.0.0.1)

相关文章

网友评论

      本文标题:ubuntu使用apt-get update无法解析阿里云镜像

      本文链接:https://www.haomeiwen.com/subject/hkycyqtx.html