当vagrant up
它显示“看来你的计算机不支持NFS”时
使用apt-get更新和升级系统后,我基本上按照Mediawiki页面上的说明进行操作,因为我想安装Mathoid以便在mediawiki页面上本地渲染LaTeX方程。
但是,当我vagrant up
回显以下内容时:
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在主机上是否正常工作,并说它已启用。
# /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,但没有找到适合我的问题的解决方案,也找不到解决此问题的任何提示。例如,我尝试安装该软件包
sudo apt-get install nfs-common
但是已经安装好了。先感谢你。
可以通过将任何导出添加到/ etc / exports进行修复。
经过 :
modprobe nfs
modprobe nfsd
然后运行vagrant,它将添加/etc/exports
,然后重新加载
内核服务器并重新启动vagrant。
发行http://jb-blog.readthedocs.io/en/latest/posts/0021-vagrant-nfs-problems.html
而不是已安装的NFS cos,实际上不支持:
尝试仅将其type: nfs
从vagrant_synced_folders
欢迎我使用debian jessie x64 I7,这是第一个解决我这个问题的方法。
冻结系统一次后,由于担心必须从头开始重新安装,我放弃了。首先,我需要真正了解vagrant和virtualbox的概念,只是按照指南进行操作并不能帮助我。因此,不幸的是,这些东西超出了我的能力范围。非常感谢您的帮助!
大声笑,我希望您掌握足够的知识来推动无业游民的财产,因为良好的OP可以做到这一点,为报告做好准备。格比