apt install nfs-kernel-server nsf-common
vim /etc/exports
/data/nfs *(rw,no_root_squash)

exportfs -r
exportfs -v
exportfs -au

showmount -e 11.0.1.105

mount 11.0.1.105:/data/nfs /mnt

vim /etc/fstab
11.0.1.105:/data/nfs /mnt nfs _netdev 0 0

mount -a
cat /proc/sys/fs/inotify/max_queued_events
cat /proc/sys/fs/inotify/max_user_instances
cat /proc/sys/fs/inotify/max_user_watches
yum install -y inotify-tools

inotifywait /data/nfs
inotifywait -m /data/nfs

inotifywait -m --timefmt "%Y-%m-%d %H:%M:%S" --format "%T %w %f event: %:e" /data/nfs
yum install rsync-daemon -y

vim /etc/rsysnd.conf
[backup]
path = /data/backup
readonly = on