Showing posts with label How to configure nfs in centos/fedora. Show all posts
Showing posts with label How to configure nfs in centos/fedora. Show all posts

Monday, July 8, 2013

How to configure nfs


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 
                                                                                       failed, need second time this command]
# service nfs restart
# chkconfig nfs on
# showmount -e localhost