For more information about how to configure shared folders through NFS, see link 1 and link 2.
Perform the following steps to configure the Server:
1. Install NFS server software
Sudo apt-get install nfs-kernel-server
2. Create a shared directory and change the directory permission to 777.
Mkdir-p share
Chmod 777 share
For example
3. Preparation file vi/etc/exports
Sudo vi/etc/exports
Add the following entries
/Home/lisp/share * (rw, sync, no_root_squash)
/Home/lisp/share is the shared directory, and rw is the read/write operation.
4. Enable the nfs service
Sudo/etc/init. d/nfs-kernel-server start
On the Client side, configure the following
1. Install nfs-common (execute the following command on another machine)
Sudo apt-get install nfs-common
2. Remote mount
Sudo mount 10.141.247.small:/home/lisp/share/media/share
Mount the remote directory to local/media/share. The result is as follows: