1.安装
apt-get install nfs-common nfs-kernel-server
省略(sudo apt-get install portmap --->install rpcbind )
2.mkdir /mnt/sda1/
3.vim /etc/exports
/mnt/sda1 *(rw,sync,no_subtree_check)
/mnt/sda1 192.168.1.*(rw,sync,no_subtree_check)
4.启动sudo service rpcbind start
5./etc/init.d/nfs-kernel-server start
6.showmount -e
7.客户端配置
vim /etc/exports
/mnt/sda1 192.168.1.*(rw,sync,no_subtree_check)
挂载 mount -t nfs 192.168.1.180:/mnt/sda1 /data/sda1_data -o nolock
转载于:https://www.cnblogs.com/zhaocundang/p/9056227.html
相关资源:树莓派3上编译的hadoop2.7.2(1号文件,共4个文件)