Professional Documents
Culture Documents
23 NFS - network file system and autofs
23 NFS - network file system and autofs
NFS
It is a remote filesystem used to export share to unix-linux clients
Latest version - 4
NFS server configuration
#install software
mkdir /share1
vi /etc/exports or /etc/exports.d/*.exports
/share1 192.168.2.0/24(sync)
#update the share
exportfs -rv
firewall-cmd --reload
NFS client mounting
● Mount command (temporary)
:wq
mount -a
Autofs configuration
#install software
/etc/auto.master
/etc/*.home
vi /etc/auto.master
vi /etc/*.home
#restart service
#manage permission
chmod 757 /share1
(ro) or (rw) share for specific user or group
● integrate nfs-server and nfs-client to central authentication server