sudo vi /etc/hosts sudo /etc/init.d/networking restart 转载于:https://www.cnblogs.com/liujx2019/p/11208560.html