NFS 配置
2019-12-25 本文已影响0人
董二花
1.nfs server conf
Check whether the system has NFS server installed.
# rpm -qa|grep nfs
Configuring the mount file
# nano /etc/exports
/home/nfsshare 10.66.154.65(rw,sync,no_root_squash,no_all_squash)
Start nfs service
#systemctl restart nfs-server
2.nfs client conf
Create a local mount point
#mkdir /home/dq
#Mount to local
mount -t nfs 10.66.144.65:/home/nfsshare /home/dq
The link:https://www.howtoing.com/nfs-server-and-client-on-centos-7