Fedora 20
Sponsored Link

Configure NFS Server2013/12/26

 
Configure NFS Server to share any directories on your Network.
This example is based on the environment below.
 
dlp.srv.world
[10.0.0.30] - NFS Server

 
www.srv.world
[10.0.0.31] - NFS Client
[1] Configure as a NFS Server
[root@dlp ~]#
yum -y install nfs-utils
[root@dlp ~]#
vi /etc/idmapd.conf
# line 5: uncomment and change to your domain name

Domain =
srv.world
[root@dlp ~]#
vi /etc/exports
# write like below *note

/home 10.0.0.0/24(rw,sync,no_root_squash,no_all_squash)
# *note
/home
⇒ shared directory

10.0.0.0/24
⇒ range of networks NFS permits accesses

rw
⇒ writable

sync
⇒ synchronize

no_root_squash
⇒ enable root privilege

no_all_squash
⇒ enable users' authority
[root@dlp ~]#
systemctl start rpcbind.service

[root@dlp ~]#
systemctl start nfs-server.service

[root@dlp ~]#
systemctl start nfs-lock.service

[root@dlp ~]#
systemctl start nfs-idmap.service

[root@dlp ~]#
systemctl enable rpcbind.service

[root@dlp ~]#
systemctl enable nfs-server.service

[root@dlp ~]#
systemctl enable nfs-lock.service

[root@dlp ~]#
systemctl enable nfs-idmap.service

Matched Content