Ubuntu 13.04
Sponsored Link

Configure NFS Server
2013/05/10
 
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
   ...done.
 * Unexporting directories for NFS kernel daemon...
   ...done.
 * Exporting directories for NFS kernel daemon...
   ...done.
 * Starting NFS kernel daemon
   ...done.
Matched Content
 
Tweet