- sudo apt-get install nfs-kernel-server
- vi /etc/exports
追加
/mnt/nfsroot/rootfs *(rw,sync,no_root_squash,no_subtree_check)
- showmount -e
Export list for ubuntu:
/mnt/nfsroot/rootfs *
客户端:
- mount -t nfs -o rw -o nolock 192.168.1.163:/mnt/nfsroot/rootfs /tmp/work