如何从ubuntu上的ubuntu虚拟机安装文件夹?

时间:2015-06-23 07:27:46

标签: ubuntu-14.04 virtualbox sshfs

我尝试了sshfs,但运行命令后,我想从VM挂载文件夹的本地目录无法打开。

1 个答案:

答案 0 :(得分:0)

  1. 在虚拟机上安装sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) folder ~/host。这些可以从 Devices>中从虚拟机中下载。安装Guest Additions 菜单。
  2. 将您要共享的文件夹添加到共享文件夹,此选项也可以在设备菜单中找到。
  3. 现在可以使用

    挂载文件夹

    //Product public string id { get; set; } public string unitMeasurement { get; set; } public Nullable<int> minOrderQty { get; set; } public Nullable<int> packSize { get; set; } public string leadTime { get; set; } public Nullable<int> generalAccessoryCategoryId { get; set; } public string Company { get; set; } public Nullable<decimal> Weight { get; set; } public Nullable<int> ProductType { get; set; } //ProductDescription public string id { get; set; } public string language { get; set; } public string shortDescription { get; set; } public string detailDescription { get; set; } public string Name { get; set; } public Nullable<int> Rank { get; set; } public Nullable<System.DateTime> StartDate { get; set; } public Nullable<System.DateTime> EndDate { get; set; } public class ProductResponse { public string id { get; set; } //Product public string unitMeasurement { get; set; } public Nullable<int> minOrderQty { get; set; } public Nullable<int> packSize { get; set; } public string leadTime { get; set; } public Nullable<int> generalAccessoryCategoryId { get; set; } public string Company { get; set; } public Nullable<decimal> Weight { get; set; } public Nullable<int> ProductType { get; set; } //ProductDescription public string language { get; set; } public string shortDescription { get; set; } public string detailDescription { get; set; } public string Name { get; set; } public Nullable<int> Rank { get; set; } public Nullable<System.DateTime> StartDate { get; set; } public Nullable<System.DateTime> EndDate { get; set; } }

  4. 有关详细信息或疑难解答,请查看this Ubuntu帮助文章。