NFS

    Server

    Install package nfs-kernel-server

    /etc/exports

    /media/storage/public *(rw,sync,no_root_squash)
    

    Note: Allow all ips to connect with *

    systemctl restart nfs-kernel-server
    

    Client

    Package nfs-common

    Manual mount

    mount -t nfs 192.xxx.xxx.xxx:/media/storage/public /mnt/public
    

    Automatic mount

    /etc/fstab

    192.xxx.xxx.xxx:/media/storage/public  /mnt/public   nfs    soft,timeo=5,intr,rsize=8192,wsize=8192  0  0