1. Edit /etc/exports
/home/myuser/share *rw(root_squash)rw --> read write
ro --> read only
root_squash --> the remote root user is not allowed to have a root level access
no_root_squash --> the remote root user is allowed to have a root-level access
2. Verify it
showmount -e [nfs_server_address]3. Open firewall port 2049
4. Restart the nfsserver deamon
/etc/init.d/nfsserver restart5. Mount the remote export.
mount -t nfs [nfs_server_address]:/home/myuser/share nfs/
No comments:
Post a Comment