在Ubuntu系统中修改hosts文件和Window系统中是一样的,区别在最后的刷新和重庆网络服务上。
window中修改hosts文件
使用ipconfig /flushdns 刷新
Ubuntu中hosts文件在/etc/hosts ------>修改---------》
使用/etc/init.d/networking restart 重启服务
在Ubuntu系统中修改hosts文件和Window系统中是一样的,区别在最后的刷新和重庆网络服务上。
window中修改hosts文件
使用ipconfig /flushdns 刷新
Ubuntu中hosts文件在/etc/hosts ------>修改---------》
使用/etc/init.d/networking restart 重启服务