How to Install and Configure a Network File System (NFS) Server and Client on Ubuntu Server

Published: 01 February 2023
on channel: The Lazy SysAdmin
18k
297

In this video, you will learn how to set up an Network File System (NFS) Server on Ubuntu 22.04 LTS Server. I will also show you how to mount an NFS file system on the client machine.

Join this channel to get access to perks:

PLEASE SUBSCRIBE :)
PLEASE HIT LIKE IF IT HELPED :)

GIVE SUPPORT -
BUY ME A COFFEE -
PAYPAL -

LINKS:
How to Install Ubuntu 22.04 LTS Server -

Steps:
NFS Server
apt update
apt -y install nfs-kernel-server
systemctl status nfs-server
mkdir /exports
mkdir /exports/backups

vi /etc/exports
/exports/backups 192.168.0.127(rw,sync,no_subtree_check)

exportfs -ar
exportfs -v
ufw allow from 192.168.0.127 to any port nfs

NFS Client
apt -y install nfs-common
mkdir /mnt/backups
mount 192.168.0.126:/exports/backups /mnt/backups

vi /etc/fstab
192.168.0.126:/exports/backups /mnt/backups nfs auto,nofail,noatime,nolock,tcp,actimeo=1800,_netdev 0 0

Drop me your feedback and comments below.

That's all for now.

If this video helped you in any way, please like share and subscribe!

Thank you!!!


Watch video How to Install and Configure a Network File System (NFS) Server and Client on Ubuntu Server online without registration, duration 06 minute 59 second in high hd quality. This video was added by user The Lazy SysAdmin 01 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 18 thousand once and liked it 297 people.