virtualBox Ubuntu共享文件夹设置
Posted tl_luo
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了virtualBox Ubuntu共享文件夹设置相关的知识,希望对你有一定的参考价值。
install ubuntu on virtual
ip
ip
vim /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 192.168.56.151
netmask 255.255.255.0
network 192.168.56.1
broadcast 192.168.56.255
#gateway 192.168.56.250
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 192.168.56.151
netmask 255.255.255.0
network 192.168.56.1
broadcast 192.168.56.255
#gateway 192.168.56.250
auto 。。。。
。。。。。dhcp
address 192.168.1.201
netmask 255.255.255.0
gateway 192.168.1.1
share folder
sudo apt-get install linux-headers-generic build-essential dkms
sudo mount /dev/cdrom /media/cdrom
sudo sh /media/cdrom/VBoxLinuxAdditions.run
ignore this error:Could not find the X.Org or XFree86 Window System, skipping.
sudo mount -t vboxsf yanshiShare /var/www/html
vi /etc/rc.local (exit 0 前面)
以上是关于virtualBox Ubuntu共享文件夹设置的主要内容,如果未能解决你的问题,请参考以下文章