linux:classnotes:rh134:nfs
Access Network-Attached Storage
consists of 2 components nfs server and nfs client
nfs defaults now to version 4 which only uses port 2049
so need to run command
firewall-cmd --add-service nfs --permanent firewall-cmd --add-service nfs
On the NFS server need to install nfs-utils and enable the nfs-server
EVerything is defined in /etc/exports you can now add stuff in /etc/exports.d/XXX.exports format is
shared directory | whom you are sharing and their permissions |
---|---|
/images | *(rw) |
once you modify this need to run the command
exportfs -r
NFS commands
showmount -e | shows what is being shared by your server |
---|
linux/classnotes/rh134/nfs.txt · Last modified: by 127.0.0.1