问题描述
当vagrant up
显示您的计算机似乎不支持NFS"时
when vagrant up
it says "It appears your machine doesn't support NFS"
- Debian GNU/Linux 8(jessie)
- 流浪汉1:2.0.0
- Virtualbox 5.1.30 r118389
使用apt-get更新和升级系统后,我基本上遵循了 Mediawiki页面,因为我想安装 Mathoid 以便在本地渲染LaTeX方程用于mediawiki页面.
After using apt-get to update and upgrade the system, I basically followed the instruction from the Mediawiki page, since I wanted to install Mathoid to render LaTeX equations locally for mediawiki page.
但是,当我vagrant up
时,它回显以下内容:
However, when I vagrant up
it echos the following:
It appears your machine doesn't support NFS, or there is not an
adapter to enable NFS on this machine for Vagrant. Please verify
that `nfsd` is installed on your machine, and try again. If you're
on Windows, NFS isn't supported. If the problem persists, please
contact Vagrant support.
我检查了nfsd在主机上是否正常工作,并说它已启用.
I checked if nfsd is correctly working on the host, and it says it's enabled.
# /etc/init.d/nfs-kernel-server status
nfs-kernel-server.service - LSB: Kernel NFS server support
Loaded: loaded (/etc/init.d/nfs-kernel-server)
Active: active (running) since Sun 2017-10-15 07:56:32 -02; 2 weeks 0 days ago
CGroup: /system.slice/nfs-kernel-server.service
??1277 /usr/sbin/rpc.mountd --manage-gids
我还尝试了google,但没有找到适合我问题的解决方案,也找不到解决此问题的任何提示.例如,我尝试安装该软件包
I also tried google, and did not find a solution that fits my problem and I couldn't find any hint to resolve this. For instance, I tried to install the package
sudo apt-get install nfs-common
但是它已经被安装.预先谢谢你.
But it has been already installed.Thank you in advance.
推荐答案
可以通过将任何导出添加到/etc/exports进行修复.
Can be fixed by adding any exports to /etc/exports.
作者:
modprobe nfs
modprobe nfsd
然后运行流浪汉,它将添加/etc/exports
,然后重新加载内核服务器和重启流浪者.
then running vagrant, which will add /etc/exports
, then reloadingkernel-server and restarting vagrant.
issue http://jb- blog.readthedocs.io/en/latest/posts/0021-vagrant-nfs-problems.html
实际上不支持而不是已安装的NFS cos:
instead of installed NFS cos really no supported :
尝试从vagrant_synced_folders
更多: https://www.vagrantup.com/docs/synced -folders/nfs.html
这篇关于当“无所事事"时,显示“看来您的计算机不支持NFS"(Debian jessie)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!