linux 加密我的主目录,NFS与加密的ubuntu主目录

我无法使用vagrant进行NFS设置:

在我的本地机器上我安装了NFS:

apt-get install nfs-common nfs-kernel-server

在我的Vagrantfile中设置它使用:

config.vm.share_folder("v-root","/vagrant",".",:nfs => true)

在流浪汉上我得到:

exportfs: /home//path/to/dir does not support NFS export

Mounting NFS shared folders Failed. This is most often caused by the NFS

client software not being installed on the guest machine. Please verify

that the NFS client software is properly installed,and consult any resources

specific to the linux distro you're using for more information on how to

do this.

我在这里错过了一两步吗?

我知道ubuntus加密的主文件夹和NFS的一些问题,但我知道这只是在启动之前的问题.

[更新]我的/ etc / exports文件如下所示:

# VAGRANT-BEGIN: 5af3e5d6-b086-416d-8eab-987275445634

/home//path/to/dir 192.168.33.11(rw,no_subtree_check,all_squash,anonuid=1000,anongid=1000,fsid$

# VAGRANT-END: 5af3e5d6-b086-416d-8eab-987275445634

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值