Contents
see List#yum -y install nfs-utils
vi /etc/exports
192.168.122.0/24(rw,sync,no_root_squash)
\t
vi /etc/sysconfig/nfs
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
MOUNTD_PORT=892
RQUOTAD_PORT=875
STATD_PORT=662
STATD_OUTGOING_PORT=2020
## firewall 사용시 아래 포트를 오픈한다.
firewall-cmd --permanent --zone=public --add-service=samba
systemctl restart rpcbind
systemctl start nfs-server
systemctl start nfs-lock
systemctl start nfs-idmap
systemctl enable rpcbind
systemctl enable nfs-server
systemctl enable nfs-lock
systemctl enable nfs-idmap
firewall-cmd --reload
mount -t nfs [대상ip주소]:/[공유디렉토리] /[마운트디렉토리]
vi /etc/fstab
[NFS서버IP주소]:/[공유디렉토리] /[마운트디렉토리] nfs defaults 0 0