Рет қаралды 16,472
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: www.youtube.com/@lazysysad/join
PLEASE SUBSCRIBE :)
PLEASE HIT LIKE IF IT HELPED :)
GIVE SUPPORT - / lazysysad
BUY ME A COFFEE - www.buymeacoffee.com/lazysysad
PAYPAL - paypal.me/lazysysad
LINKS:
How to Install Ubuntu 22.04 LTS Server - • How to Install Ubuntu ...
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!!!