NFS Configuration Command
NFS = Network File System
Share File or Directory/Folder in Server PC:
In Server PC:
# mkdir /test20
# vim /etc/exports
test/20 192.168.0.43(rw) [Only this ip will get shared]
or
test/20 192.168.0.0/24(rw) [all ip will get shared under this network]
or
test/20 example.com(rw) [all ip will get shared under this domain]
:wq!
# service nfs restart [service will be restart. N.B: some service will
# vim /etc/exports
test/20 192.168.0.43(rw) [Only this ip will get shared]
or
test/20 192.168.0.0/24(rw) [all ip will get shared under this network]
or
test/20 example.com(rw) [all ip will get shared under this domain]
:wq!
# service nfs restart [service will be restart. N.B: some service will
failed, need second time this command]
# service nfs restart
# chkconfig nfs on
# showmount -e localhost
# service nfs restart
# chkconfig nfs on
# showmount -e localhost