Linux
In the terminal, update the package lists: sudo apt-get update (Debian/Ubuntu) or sudo yum update (RHEL/CentOS).
Install the NFS server: sudo apt-get install nfs-kernel-server (Debian/Ubuntu) or sudo yum install nfs-utils (RHEL/CentOS).
Set up shares in /etc/exports
Open the /etc/exports file in a text editor: sudo nano /etc/exports
Add export entries: Specify directories to share and permissions to access, one share per line. Example:
/shared_directory 192.168.1.0/24(rw,sync,subtree_check)
Save and close the file.
Start NFS services
Enable the NFS server to start at boot: sudo systemctl Enable nfs-kernel-server (Debian/Ubuntu) or sudo systemctl Enable nfs (RHEL/CentOS).
Restart the NFS server to apply the country email list changes: sudo systemctl restart nfs-kernel-server (Debian/Ubuntu) or sudo systemctl restart nfs (RHEL/CentOS).
Check the status of the NFS server: sudo systemctl status nfs-kernel-server (Debian/Ubuntu) or sudo systemctl status nfs (RHEL/CentOS).
Open firewall ports (if applicable)
Allow NFS service through firewall: sudo ufw allow from 192.168.1.0/24 to any nfs port (if using UFW) or sudo firewall-cmd –permanent –add-service=nfs && sudo firewall-cmd –reload (if using firewall).
Mount the NFS share on the client
Create a mount point: sudo mkdir /mnt/nfs_share.
Mount the NFS share:
Either mount with sudo mount 192.168.1.1:/shared_directory /mnt/nfs_share OR
Define the share in /etc/fstab with a line like server_ip:/shared_directory /local_mount_point nfs auto,nofail,defaults 0 0 – it will be key elements of an effective abandoned cart email automatically mounted on boot or if you run sudo mount -a (will attempt to mount all /etc/ mounts defined by fstab, except those with noauto in their mount options).
Check the mount: df -h
Windows (10/11/Server)
Enable NFS server function
Windows server
Open Control Panel.
Go to Programs > Turn Windows features on or off .
Scroll down and check Services for NFS .
Click OK and wait for the installation to complete.
Windows 10/11
Open the Settings app
Go to Apps > More features .
Click View Features next to Add an Extra Feature .
Find services for NFS .
Install the NFS Check the box and facebook users click Next , then Install .
Please wait for the installation to complete.
Setting up sharing options
Install the NFS Windows server
Open Server Manager .
Go to File and Storage Services > Shares .