解决:cannot resolve hostname 作者在新搭建linux虚拟机安装chrome浏览器遇到该问题. 思路 检查虚拟机hostname配置文件. sudo gedit /etc/hosts 配置如下: 127.0.0.1 localhost 127.0.1.1. ubuntu 修改为该虚拟机名称 127.0.0.1 localhost 127.0.1.1. jonny 成功安装!