1. 从github上下载最新的hosts文件:https://serve.netsh.org/pub/ipv4-hosts/ ubuntu16.04: 第二步:Ctrl+Alt+T 打开ubuntu的命令终端,输入命令: sudo gedit /etc/hosts,输入密码. 第三步:将刚才在github上复制的hosts文件的内容拷贝到# The following lines are desirable for IPv6 capable hosts之前,保存退出. 第四步:在命令终端输入:
# Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.c