首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >AWS EC2 t2.微: sudo apt安装和wget连接错误

AWS EC2 t2.微: sudo apt安装和wget连接错误
EN

Stack Overflow用户
提问于 2022-10-04 05:46:39
回答 1查看 70关注 0票数 0

微: sudo,apt安装和wget连接错误。

代码语言:javascript
复制
$ wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.67/bin/apache-tomcat-9.0.67.tar.gz
--2022-10-04 05:41:44--  https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.67/bin/apache-tomcat-9.0.67.tar.gz
Resolving dlcdn.apache.org (dlcdn.apache.org)... 151.101.2.132, 2a04:4e42::644
Connecting to dlcdn.apache.org (dlcdn.apache.org)|151.101.2.132|:443...


$ sudo apt install net-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  net-tools
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 196 kB of archives.
After this operation, 864 kB of additional disk space will be used.
0% [Connecting to us-east-1.ec2.archive.ubuntu.com (3.87.126.146)]
EN

回答 1

Stack Overflow用户

发布于 2022-10-04 11:08:50

尝试修复您的resolve.conf并添加一个工作名称服务器。Google提供了一个免费的,8.8.8.8。

vi /etc/resolve.conf

命名服务器8.8.8.8

这个能帮上忙。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73943543

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档