网卡参数设置建议与各个网卡参数含义详解
2012-09-09 15:36
155 查看
This is the scenario that you run Windows as your host operating system and Ubuntu in a VirtualBox, and that you want to access a specific Windows folder from Ubuntu.
First you have to make sure that have install Guest Additions. From the VirtualBox's menu go to Devices → Install Guest Additions... This will mount a virtual CD on your /media/cdrom. Normally this folder's window will show up. As root run the program VBoxLinuxAdditions.run. When the program completes reboot your VirtualBox.
With Guest Additions installed you may now go ahead and define the shared folder(s). From the VirtualBox's menu go to Devices → Shared Folders. A dialog will show up. In this dialog you can specify which folder from your Windows system you want to share with your Ubuntu. Press the button with the + symbol to add a new shared folder in the list. You will have to specify a Folder Name for each folder you add. Make sure you memorize that name because you will need it very soon.
When done with you shared folder(s) specification, you may now go ahead and actually mount these folders from Ubuntu. First you have to create a mounpoint, that is, a directory in your Ubuntu which will reflect the shared folder from Windows:
# sudo mkdir /media/windows-share
Of course you may choose an alternative path for your mountpoint. With your mountpoint created you can now mount the shared folder, like this:
# sudo mount -t vboxsf folder-name /media/windows-share
Where folder-name will be the name you assigned for this folder when you were adding it in the shared folders list.
You could use the /etc/init.d/rc.local script to execute these commands on startup to have the shared folders automatically mounted every time you start your Ubuntu VirtualBox.
First you have to make sure that have install Guest Additions. From the VirtualBox's menu go to Devices → Install Guest Additions... This will mount a virtual CD on your /media/cdrom. Normally this folder's window will show up. As root run the program VBoxLinuxAdditions.run. When the program completes reboot your VirtualBox.
With Guest Additions installed you may now go ahead and define the shared folder(s). From the VirtualBox's menu go to Devices → Shared Folders. A dialog will show up. In this dialog you can specify which folder from your Windows system you want to share with your Ubuntu. Press the button with the + symbol to add a new shared folder in the list. You will have to specify a Folder Name for each folder you add. Make sure you memorize that name because you will need it very soon.
When done with you shared folder(s) specification, you may now go ahead and actually mount these folders from Ubuntu. First you have to create a mounpoint, that is, a directory in your Ubuntu which will reflect the shared folder from Windows:
# sudo mkdir /media/windows-share
Of course you may choose an alternative path for your mountpoint. With your mountpoint created you can now mount the shared folder, like this:
# sudo mount -t vboxsf folder-name /media/windows-share
Where folder-name will be the name you assigned for this folder when you were adding it in the shared folders list.
You could use the /etc/init.d/rc.local script to execute these commands on startup to have the shared folders automatically mounted every time you start your Ubuntu VirtualBox.
相关文章推荐
- 网卡参数设置建议与各个网卡参数含义详解
- Caffe--solver.prototxt配置文件 参数设置及含义
- PHP正则表达式 /i, /is, /s, /isU等参数含义详解
- css中设置点的参数含义
- jvm的参数含义及设置
- MySQL服务器端参数详解和优化建议
- /etc/fstab 参数详解及如何设置开机自动挂载
- java程序启动参数-D含义详解
- /etc/fstab 参数详解及如何设置开机自动挂载
- 无线路由器组网参数设置详解
- VMware下CentOS6.4网卡设置为桥接模式静态IP配置方法详解
- 详解TCP/IP协议的含义及三个参数
- (1) Linux Top命令参数详解 及 Linux系统平均负载3个数字的含义
- jvm的参数含义及设置
- linux hwclock命令参数及用法详解--linux显示/设置硬件时钟命
- linux chkconfig命令参数及用法详解--linux系统服务设置命令
- 存储参数(storage子句)含义及设置技巧
- 系统优化-----sysctl.conf文件内核设置参数详解
- 绘图参数设置函数par()详解
- eclipse.ini内存设置各参数含义