图形化 utool 找到 host 打开位置,或者直接打开/etc/hosts位置 复制一份到桌面,改完给原来删掉,然后复制回去就好 命令行 sudo vi /etc/hosts 按i进行输入 按esc退出输入 输入:wq 保存并退出