1. Edit file /etc/exports, tambahkan direktori yang akan di-share
/home/dody/Pic 192.168.3.0/24(rw,no_root_squash,subtree_check,sync)
ket:- 192.168.3.0/24 = network that allowed
- rw = can be read+write
- no_root_squash = permit client to connect as root
- subtree_check = checking every file requested to make sure that it is in exported directory
- sync = performance, prevent data lost
2. Jalankan file /etc/rc.d/rc.nfsd
On client
Mount NFS
mount -t nfs 192.168.3.33:/home/dody/Pic /mnt/nfs -o rw
No comments:
Post a Comment