1.虚拟机设置:
2.关掉网卡:sudo ifconfig ethxx down.
3.打开网卡:sudo ifconfig ethxx up.
4.打开浏览器就可以使用网络上网了。
NFS: 1.vmware软件设置网络连接方式:
2.选择桥接方式: