LSTM的记忆能力实验

阅读 11

2023-12-31

在终端使用apt-get update时,连接dl.google.com超时,一直卡在0%,原因是当前ip无法ping到google(墙)。

解决方法:

dl.google.com国内可用IP

选一个,然后按以下命令操作:

cd ~
vim /etc/hosts

在hosts文件下面添加一下内容:

#Download 下载
180.163.151.161 dl.google.com
180.163.151.161 dl-ssl.google.com

 #Groups
180.163.151.161 groups.google.com

 #Google URL Shortener
180.163.151.161 goo.gl

 #Google App Engine
180.163.151.161 appengine.google.com


修改完成后,使ping命令来测试,结果如下图:

再重新 apt-get update就好了

精彩评论(0)

0 0 举报