Configure NFS Server2018/05/10 |
Configure NFS Server to share directories on your Network.
This example is based on the environment below. +----------------------+ | +----------------------+ | [ NFS Server ] |10.0.0.30 | 10.0.0.31| [ NFS Client ] | | dlp.srv.world +----------+----------+ www.srv.world | | | | | +----------------------+ +----------------------+ |
[1] | Configure NFS Server. |
[root@dlp ~]#
dnf -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 settings for NFS exports /home 10.0.0.0/24(rw,no_root_squash)
systemctl start rpcbind nfs-server [root@dlp ~]# systemctl enable rpcbind nfs-server |
[2] | If Firewalld is running, allow NFS service. |
[root@dlp ~]# firewall-cmd --add-service=nfs --permanent success [root@dlp ~]# firewall-cmd --reload success |
[1] | Configure NFS Server. |
[root@dlp ~]#
dnf -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 settings for NFS exports /home 10.0.0.0/24(rw,no_root_squash)
systemctl start rpcbind nfs-server [root@dlp ~]# systemctl enable rpcbind nfs-server |
[2] | If Firewalld is running, allow NFS service. |
[root@dlp ~]# firewall-cmd --add-service=nfs --permanent success [root@dlp ~]# firewall-cmd --reload success |
For basic options of exports
|
Sponsored Link |