1.打開終端 2.輸入sudo vi /etc/hosts 3.輸入密碼 4.進入文件hosts,然后按“i”,進入編輯模式 5.把你的host添加到最后 6.control+c推出編輯模式 7.輸入:wq,保存退出 image.png