How to Install and Configure an NFS Linux Server and Client

  Рет қаралды 41,665

Akamai Developer

Akamai Developer

Күн бұрын

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
New to Cloud Computing? Get started here with a $100 credit → www.linode.com/lp/youtube-vie...
Read the doc for more information on using an NFS server → www.linode.com/docs/guides/us...
Learn more about mounting NFS shares → www.linode.com/docs/guides/ho...
Subscribe to get notified of new episodes as they come out → kzbin.info?sub_co...
#Developers #NFS #Linux
Network File System, NFS, Linux; TopDocs @LearnLinuxTV

Пікірлер: 32
@embain269
@embain269 2 ай бұрын
Dude, you saved my life, I was struggling so hard before I saw this video, great tutorial!
@nickm8134
@nickm8134 6 ай бұрын
Brilliant, extremely thorough and very clear - than you!
@jim7smith
@jim7smith 8 ай бұрын
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
@Moses_coder
@Moses_coder 6 ай бұрын
Great content. Thank you
@pr0jectSkyneT
@pr0jectSkyneT 6 ай бұрын
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?
@Cyber_realm
@Cyber_realm 8 ай бұрын
Thank you for this amazing content
@josephtucker9612
@josephtucker9612 5 ай бұрын
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.
@Shutermagic.photos
@Shutermagic.photos Жыл бұрын
Hello, great video! Could you do a tutorial on how to secure an NFS server? Best regards
@MohamedELSayed-to9jj
@MohamedELSayed-to9jj 14 күн бұрын
great tutorial!
@user-ql3ic9rm2t
@user-ql3ic9rm2t 11 ай бұрын
very great video,but i want to ask a question ,how i can add function of support nfs v2 in ubuntu 22.04,thanks
@MR-vj8dn
@MR-vj8dn 10 ай бұрын
Nice. Thx.
@levent21
@levent21 Жыл бұрын
Is it possible to put a symbolic link in the server folder and reach the content of it from client side? Thanks
@AkamaiDeveloper
@AkamaiDeveloper Жыл бұрын
According to the article linked below, symbolic links can be used with NFS, although they take a fair amount of configuration and planning. docstore.mik.ua/orelly/networking_2ndEd/nfs/ch06_04.htm Additionally, this post from Stack Exchange has some useful information regarding symlinks and NFS: unix.stackexchange.com/questions/135048/how-to-follow-symlinks-in-nfs
@levent21
@levent21 Жыл бұрын
@@AkamaiDeveloper Thanks a lot🙋‍♂
@AlienShine
@AlienShine 6 күн бұрын
Stale file handle still happens. How can this be fixed, it's annoying to say the least.
@DanielSMatthews
@DanielSMatthews Жыл бұрын
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?
@rishiraj2548
@rishiraj2548 Жыл бұрын
Thanks
@l30n.marin3r0
@l30n.marin3r0 7 ай бұрын
There is no nfs-kernel-server package in Arch...I don't get it... :/
@user-gn4rw6sk6n
@user-gn4rw6sk6n 5 ай бұрын
yay -S nfs-utils
@ganeshputtige
@ganeshputtige Жыл бұрын
Sir, can we access NFS shares from Android and IOS devices? If yes, how? Thanks in advance.
@AkamaiDeveloper
@AkamaiDeveloper Жыл бұрын
In short, yes. Although Android makes use of the Linux kernel (and is arguably a Linus distro itself), this seems to be easier done on iOS. Connecting to an NFS server/mount seems to require you to recompile the kernel on Android so your results may vary and require some in-depth troubleshooting. Here are some guides to point you in the right direction: - NFS Mounting for Android: android.stackexchange.com/questions/200867/how-to-mount-nfs-on-android-with-correct-permissions && androidforums.com/threads/download-files-from-linux-nfs-share-to-android-device.1307711/#post-7894369 - NFS Mounting iOS: support.apple.com/guide/iphone/connect-external-devices-or-servers-iph8d8f0f1a0/ios
@adimascahyaning9202
@adimascahyaning9202 Жыл бұрын
Great video! I have a query though, can we specify the NFS size on the server?
Жыл бұрын
Is it possible to enable compression on a nfs share to save bandwith?
@josefsmolik5991
@josefsmolik5991 Жыл бұрын
Hello, I really liked your tutorial. I am using openSUSE Leap 15.4 and I have a problem with the firewall. What ports must be open on the server and client side. Thank you very much for your reply and I wish you all the best.
@peterbrown6224
@peterbrown6224 Жыл бұрын
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.
@AnibalEvangelista
@AnibalEvangelista 6 ай бұрын
Great tutorial, but you could say its for a specific dsitribution (I think its debian for this vid).
@LA-MJ
@LA-MJ Жыл бұрын
Take it to the next step and configure krb5
@crvivekshuklaUp75
@crvivekshuklaUp75 Жыл бұрын
What is solution of linode signup cancellation
@AkamaiDeveloper
@AkamaiDeveloper Жыл бұрын
Hi there - If you received a cancellation email when you signed up for an account, we'd be happy to take another look if you want to reach us via email or phone. You can reach us via email at support@linode.com to request a review or the following numbers: U.S. 855-454-6633 Global +1-609-380-7100 You'll hear back from us if we overturn our initial decision. You can also find out what steps to take after receiving a sign-up cancellation email here: www.linode.com/community/questions/22948/my-signup-was-flagged-as-fraudulent-behavior
@shanold7681
@shanold7681 5 ай бұрын
What about security? this seems like anything on the network could access this
@fakename8670
@fakename8670 3 ай бұрын
Followed and got it all to work accept when I list just parent directory: ls -l /mnt/nfs then: df -h it dosen't show mounts but it still mounts if I say: ls -l /mnt/nfs/backup
@andrewr7820
@andrewr7820 5 ай бұрын
Um, this is not ripping off @LearnLinuxTV?
Fundamentals of svn | Top Docs with Jay LaCroix
12:17
Akamai Developer
Рет қаралды 6 М.
How to Set Up an NFS Server on Ubuntu (Complete with AutoFS!)
36:30
Learn Linux TV
Рет қаралды 55 М.
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 41 МЛН
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 63 МЛН
The Linux Filesystem Explained | How Each Directory is Used
14:08
Akamai Developer
Рет қаралды 224 М.
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
TrueNAS NFS Setup For XCP-ng and Linux
1:18:24
Tech Tutorials - David McKone
Рет қаралды 20 М.
Single Server HomeLab Using Proxmox (Proxmox Hypervisor and NAS)
31:13
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,1 МЛН
Linux Crash Course - The /etc/fstab file
30:29
Learn Linux TV
Рет қаралды 101 М.
Configuring Network File System (NFS) on Linux | Into the Terminal 97
45:52
Red Hat Enterprise Linux
Рет қаралды 1,3 М.
Ubuntu Server: Getting started with a Linux Server
1:09:33
Byte My Pi
Рет қаралды 526 М.
Complete SSH Tutorial: All-in-One Guide for Secure Connections
1:28:00
Learn Linux TV
Рет қаралды 579 М.
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 63 МЛН
НЕ БЕРУ APPLE VISION PRO!
0:37
ТЕСЛЕР
Рет қаралды 368 М.
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 7 МЛН