文件在目录 /etc/hosts

 

直接 vim /etc/hosts

添加需要的内容,即可 。