How to Install and Configure an NFS Linux Server and Client

preview_player
Показать описание
In this video, @LearnLinuxTV teaches how to set up your own NFS (Network File System) server and client and also how to configure Auto FS which enables you to mount things like NFS on demand for more control.

Chapters:
0:00 Introduction
0:40 Create NFS Shares
3:10 Install NFS Server
4:10 Configure the NFS Server
4:56 Examine the /etc/exports file
6:03 Create a fresh /etc/exports file
8:38 Restart the NFS Server
9:25 Test the NFS Server
10:40 Configure the NFS Client
10:50 Install NFS Client App
11:30 Test Server Connectivity
12:56 Create Parent Directory
14:20 Mounting NFS Exports
16:00 Unmounting NFS Exports
16:30 How to auto-mount NFS Exports
18:50 Configure autofs
24:18 Config file demonstration
25:50 Restart and check our configuration
28:44 Verify mounts are actually unmounted
31:10 Conclusion

#Developers #NFS #Linux
Network File System, NFS, Linux; TopDocs @LearnLinuxTV
Рекомендации по теме
Комментарии
Автор

Dude, you saved my life, I was struggling so hard before I saw this video, great tutorial!

embain
Автор

I was about to lose myself until I saw your video. please keep uploading videos

markanthonymendoza
Автор

Brilliant, extremely thorough and very clear - than you!

nickm
Автор

Good Morning, Jay.... a long time subscriber....So if I want to enable nfs shares for my home network, where do I set the permissions to allow access for non admin users? You mentioned in the video that permissions were not important yet, but afaik you never mentioned permissions again. Thanks in advance. Jim Smith Sr

jimsmith
Автор

Hello, great video! Could you do a tutorial on how to secure an NFS server?
Best regards

Shutermagic.photos
Автор

Is there a way to secure the NFS share via authentication (username/password)? Is there a way to mount the NFS share via the /etc/fstab file?

prjectSkyneT
Автор

i do every step you do, but I do mine on my rhel 9 server since I am prepping for the RHCSA, and i keep getting "clnt_create: RPC: Unable to receive"

debunker_letsGO
Автор

This is a great video but the systemctl still shows as (exited) even after giving out the file share....is that normal?

priteshugrankar
Автор

Hi, isnt the no_subtree_check option _less secure_ because it allows the parent and child directories to be mounted?

priteshugrankar
Автор

I have a dir mounted works file but inside that dir I mount bind a dir from an other disk in that shared dir.. it shows up but is empty inside on my client computer. Someone any idea why, and how I can I fix this?

axMfqTI
Автор

do we have to use "no_subtree_check" or can I just do "sync"?

debunker_letsGO
Автор

autofs is not working correctly for me. When I go to the nfs folder it shows the folder is there but when I list what is in that folder it says 'no such file or directory.'
df -h does not show the folder.
But I have no trouble mounting the folder without using autofs and listing its contents.

josephtucker
Автор

Is it possible to put a symbolic link in the server folder and reach the content of it from client side? Thanks

levent
Автор

There is no nfs-kernel-server package in Arch...I don't get it... :/

ln.marinr
Автор

very great video, but i want to ask a question, how i can add function of support nfs v2 in ubuntu 22.04,thanks

飞翔的荷兰人-hq
Автор

Stale file handle still happens. How can this be fixed, it's annoying to say the least.

AlienShine
Автор

So I can use autofs to mount user home directories? But how do I control who can mount an nfs share for a home directory on a machine that is allowed to mount any share from the server hosting those home directories?

DanielSMatthews
Автор

Sir, can we access NFS shares from Android and IOS devices? If yes, how? Thanks in advance.

ganeshputtige
Автор

It might just be me, but I've had problems on the client when the nfs server goes offline for some reason.
I am referring to RHEL 7 and Fedora.
In the case of RHEL, it was at work and the blighters needed to be rebooted after hours.

peterbrown
Автор

Great tutorial, but you could say its for a specific dsitribution (I think its debian for this vid).

AnibalEvangelista