Install nfs-kernel-server --NFS server network file share

To share network files between multiple servers, install the NFS server "nfs-kernel-server" with the apt command.

sudo apt install -y nfs-kernel-server

NFS stands for Network File System.

nfs-common, which provides the ability to mount to an NFS server as an NFS client, is also installed.

Confirm that the NFS server has been installed

Use the status of the systemctl command to confirm that the NFS server has been installed.

systemctl status nfs-kernel-server

If the following is displayed, it is installed.

● nfs-server.service --NFS server and services
   Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor prese
   Active: active (exited) since Mon 2020-05-18 09:51:35 JST; 2min 47s ago
 Main PID: 20222 (code = exited, status = 0 / SUCCESS)
    Tasks: 0 (limit: 9479)
   CGroup: /system.slice/nfs-server.service

Associated Information