Set Up the NFS Server
Follow these steps to install and configure the NFS server on AlmaLinux or Ubuntu:
Note: Set up a separate NFS server outside Virtual Appliance.
- Run the following commands to install the NFS server.
- AlmaLinux
dnf install nfs-utils mkdir -p /mnt/nfs_share chown nobody:nobody /mnt/nfs_share chmod 777 -R /mnt/nfs_share/- Ubuntu
sudo apt install nfs-kernel-server mkdir -p /mnt/nfs_share chown nobody:nobody /mnt/nfs_share chmod 777 -R /mnt/nfs_share/
- Configure the NFS exports.Specify the Virtual Appliance's network IP addresses that mounts the
nfs_shareon these servers./mnt/nfs_share <IP-address-1>/24(rw,sync,no_subtree_check,no_root_squash) /mnt/nfs_share <IP-address-2>/24(rw,sync,no_subtree_check,no_root_squash) - Restart the NFS server:
systemctl restart nfs-server - Verify the NFS server status:
systemctl status nfs-serverEnsure that the NFS server status displays success.
Sample Output:nfs-server.service - NFS server and services Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/nfs-server.service.d └─order-with-mounts.conf Active: active (exited) since Sun 2025-11-02 18:23:48 UTC; 1 day 19h ago Process: 894 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS) Process: 901 ExecStart=/usr/sbin/rpc.nfsd (code=exited, status=0/SUCCESS) Main PID: 901 (code=exited, status=0/SUCCESS) CPU: 5ms Nov 02 18:23:48 appdva-test9-vm177 systemd[1]: Starting NFS server and services... Nov 02 18:23:48 appdva-test9-vm177 systemd[1]: Finished NFS server and services.