Professional Documents
Culture Documents
and edit /etc/exports NFS exports file to add the below line while replacing the IP
address 10.1.1.18 with the IP address of your client:
/opt/nfs 10.1.1.18(no_root_squash,rw,sync)
#/data/ 192.168.100.0/24(rw,sync,no_root_squash,no_all_squash)
/data/ 192.168.100.106(rw,sync,no_root_squash,no_all_squash)
/data/ 192.168.100.107(rw,sync,no_root_squash,no_all_squash)
/data/ 192.168.100.103(rw,sync,no_root_squash,no_all_squash)
/data/ 192.168.100.104(rw,sync,no_root_squash,no_all_squash)
[root@web ~]#
Next make sure to enable 2049 port on your firewall to allow clients requests:
/data 192.168.10.106
/data 192.168.10.107
Active: active (exited) since Thu 2014-12-11 08:12:46 EST; 23s ago
CGroup: /system.slice/nfs-server.service
# /etc/fstab
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info