apt-get install nfs-kernel-server nfs-common
/etc/exports
/data 192.168.1.3(rw,insecure,nohide,all_squash,anonuid=1000,anongid=1000,no_subtree_check)
/data - shared directory (server)
192.168.1.3 - remote server (client)
sudo /etc/init.d/nfs-kernel-server restartor refresh config
sudo exportfs -a
On client (192.168.1.3)
apt-get install nfs-common
sudo mount -t nfs -O uid=1000,iocharset=utf-8 192.168.1.2:/data /Nfs_Mount
/Nfs_Mount - mount point for shared directory
Комментариев нет:
Отправить комментарий