doucongqian6644 2015-09-08 22:04
浏览 94

在root bedrock + trellis + sage教程之后安装nfs共享文件夹时出现错误

Im following this repo https://github.com/roots/roots-example-project.com. I did all steps till the vargrant up to see the development part. It gives me this error after a few seconds:

==> default: Preparing to edit /etc/exports. Administrator privileges will be required... sudo: /etc/init.d/nfs-kernel-server: command not found

==> default: Mounting NFS shared folders... The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!

mount -o 'vers=3,udp' 192.168.50.1:'/home/miguelrebola/projects/work/example.com/site' /vagrant-nfs-roots-example-project.com

Stdout from the command:

Stderr from the command:

stdin: is not a tty mount.nfs: requested NFS version or transport protocol is not supported

I need to get that going and i've tried everything i found on internet. It only gives this error once after that it only shows this when running vagrant up.

--- work/example.com » vagrant up Bringing machine 'default' up with 'virtualbox' provider...

==> default: Checking if box 'ubuntu/trusty64' is up to date...

==> default: VirtualBox VM is already running.

==> default: Checking for host entries

--- work/example.com »

any idea whats happening?

PS. Im on Ubuntu.

  • 写回答

1条回答 默认 最新

  • dqotv26286 2015-09-09 14:28
    关注

    It looks like nfsd is not running on your host machine (ubuntu does not install by default, mac os does)

    install with sudo apt-get install nfs-kernel-server

    most probably it will be enough, if not follow the instructions from https://help.ubuntu.com/community/SettingUpNFSHowTo to setup everything.

    Second option : if you do not want to setup nfs, you can remove , type: 'nfs' from the Vagrantfile and let vagrant use the default sharing folder mechanism.

    评论

报告相同问题?

悬赏问题

  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示