1.在 Oracle VM VirtualBox中设置网络 :连接方式为“桥接网卡”
2.在虚拟机安装的ubuntu系统中打开终端(ctrl + alt + t)输入命令:ifconfig
得到虚拟机中ubuntu系统的ip地址 :192.168.0.102
3.在宿主机中打开浏览器输入:192.168.0.102 猛敲回车,显示: welcome to nginx&#
1.在 Oracle VM VirtualBox中设置网络 :连接方式为“桥接网卡”
2.在虚拟机安装的ubuntu系统中打开终端(ctrl + alt + t)输入命令:ifconfig
得到虚拟机中ubuntu系统的ip地址 :192.168.0.102
3.在宿主机中打开浏览器输入:192.168.0.102 猛敲回车,显示: welcome to nginx&#