We're here to assist with any of your needs, don't hestitate to reach out.
NFS (Network File System) is a distributed file system protocol that allows you to share files and directories with other Linux/Unix clients over a network. It allows you to mount remote directories on your local machine and access them as if they were on your local filesystem.
Here are the steps to install and configure NFS on Ubuntu 18.04:
sudo apt update
sudo apt install nfs-kernel-server
sudo mkdir /shared-directory
sudo chown nobody:nogroup /shared-directory
sudo chmod 777 /shared-directory
sudo nano /etc/exports
/shared-directory client_ip_address(rw,sync,no_subtree_check)
sudo exportfs -a
sudo systemctl restart nfs-kernel-server
sudo ufw allow from client_ip_address to any port nfs
sudo mount server_ip_address:/shared-directory /mount-directory
You have successfully installed and configured NFS on Ubuntu 18.04. You can now share files and directories between your server and client machines over the network.
Remember to replace "client_ip_address" and "server_ip_address" with the actual IP addresses of your client and server machines respectively.
What our customers say about us
Create your free account today.