virtualbox虚拟机怎么设置网络?virtualbox网络设置教程

2019-09-18 07:26:17于海丽

"VBoxInternal/Devices/pcnet/0/LUN#0/Config/huzhangsheng/Protocol" TCP

"C:Program Filesinnotek VirtualBoxVBoxManage.exe" setextradata "debian"

 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/huzhangsheng/GuestPort" 80

"C:Program Filesinnotek VirtualBoxVBoxManage.exe" setextradata "debian"

 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/huzhangsheng/HostPort" 80

注意:要使设置生效,请关掉 VirtualBox 再运行虚拟机,把 VirtualBox 安装在 winxp 上,在虚拟机中安装 debian 4.02r ,虚拟机名是 debian ,并安装了 apache2 php5 mysql-server ,在主机上用IE浏览 http://localhost,成功转发到虚拟机 debian 的 apache2 web 服务器上

相关文章 大家在看