Debian 7.0
Sponsored Link

Configure NFS Server2013/05/07

 
Configure NFS Server to share any directories in local network.
[1] Configure NFS Server
root@nas01:~#
aptitude -y install nfs-kernel-server
root@nas01:~#
vi /etc/idmapd.conf
# line 6: uncomment and change to your domain name

Domain =
srv.world
root@nas01:~#
vi /etc/exports
# write like below *note

/home 10.0.0.0/24(rw,sync,fsid=0,no_root_squash,no_subtree_check)
# *note
/home
⇒ shared directory

10.0.0.0/24
⇒ range of networks NFS permits accesses

rw
⇒ possible to read and write

sync
⇒ synchronize

no_root_squash
⇒ enable root privilege

no_subtree_check
⇒ disable subtree check
root@nas01:~#
/etc/init.d/nfs-kernel-server restart

Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsd mountd.
Matched Content