Linux 覆盆子皮:罐头';t使用NFS共享文件
我无法在我的桌面(作为NFS服务器,os:ubuntu 14.04)和我的Rasberry pi(作为NFS客户端,os:Raspbian jessie)之间共享文件 我所做的是: 服务器端Linux 覆盆子皮:罐头';t使用NFS共享文件,linux,raspberry-pi,ubuntu-14.04,mount,nfs,Linux,Raspberry Pi,Ubuntu 14.04,Mount,Nfs,我无法在我的桌面(作为NFS服务器,os:ubuntu 14.04)和我的Rasberry pi(作为NFS客户端,os:Raspbian jessie)之间共享文件 我所做的是: 服务器端 apt-get install nfs-kernel-server mkdir -p /export/egmintel mount --bind /home/egmintel /export/egmintel 在/etc/default/nfs内核服务器中:需要\u SVCGSSD=“否” 在客户机和服务
apt-get install nfs-kernel-server
mkdir -p /export/egmintel
mount --bind /home/egmintel /export/egmintel
在/etc/default/nfs内核服务器中:需要\u SVCGSSD=“否”
在客户机和服务器的/etc/idmapd.conf中:
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
In/etc/exports
/export 192.168.1.48(rw,fsid=0,insecure,no_subtree_check,async)
/export/egmintel 192.168.1.48(rw,nohide,insecure,no_subtree_check,async)
192.168.1.48是我的raspberry pi地址,nfs客户端。
然后我重新启动了nfs服务器:
service nfs-kernel-server restart
客户端:
已安装nfs公用程序:
pi@raspberrypi ~ $ sudo apt-get install nfs-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
nfs-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
尝试mount命令时超时:
sudo mount -t nfs -o proto=tcp,port=2049 192.168.1.78:/ shareIntel
注意:我已经在Raspberry pi上安装了KURA,并且打开了端口:2049/tcp、32771/tcp、892/udp
我不知道我错过了什么,无法在destop和Raspberry pi之间使用NFS共享文件
提前感谢您的帮助 我明白了,我在桌面上设置了防火墙