在Ubuntu 12.04 Desktop中,可以插入USB设备,它们大部分都可以工作.
@H_301_1@在Ubuntu 12.04 Server中,当我插入USB设备时,它什么都不做.
@H_301_1@在添加打印机,扫描仪和拇指驱动器等USB设备时,如何设置服务器是否像桌面一样?
@H_301_1@最终,我将把这些USB设备转发到VirtualBox虚拟机.但是,如果ubuntu服务器没有以某种方式安装它们,我也无法让VirtuaBox看到它们.
从
Ubuntu documentation开始,尝试安装usbmount.
sudo apt-get install usbmount@H_301_1@这是回购的描述:
@H_301_1@automatically mount and unmount USB mass storage devices This package@H_301_1@使用automount时,它会将存储设备挂载到/ media / usb [0-7](没有对话框). @H_301_1@打印机/扫描仪没有“安装”,并且配置不同.虽然,如果你的最终目标只是将这些传递给你的Windows客户,你需要安装VirtualBox扩展包,从这里https://www.virtualbox.org/wiki/Downloads.在你的Windows使用它们之前不需要在你的Ubuntu主机中设置这些设备客人.
automatically mounts USB mass storage devices (typically USB pens)
when they are plugged in,and unmounts them when they are removed.
The mountpoints (/media/usb[0-7] by default),filesystem types to
consider,and mount options are configurable. When multiple devices
are plugged in,the first available mountpoint is automatically
selected. If the device provides a model name,a symbolic link
/var/run/usbmount/MODELNAME pointing to the mountpoint is
automatically created.