1.打开virtualbox,选择【设置】-【网络】将连接方式改为【Bridged Adapter】 2.在Ubuntu中, 运行sudo gedit /etc/network/interfaces 修改如下: auto lo auto eth0
运行sudo gedit /etc/resolv.conf 修改如下: nameserver 172.17.11.31 #域名服务器
3.运行/etc/init.d/networking restart 重启 |
|
来自: 败败0619 > 《Linux/Ubuntu》