How to Set Up an NFS Server on Ubuntu (Complete with AutoFS!)

Learn Linux TV β€’ January 28, 2023
Video Thumbnail
Learn Linux TV Logo

Learn Linux TV

@learnlinuxtv

About

Learn Linux TV is your ultimate resource for mastering Linux and open-source technology. From step-by-step Linux tutorials and distro reviews to server automation, cloud deployments, security, and DevOps workflows, this channel gives you the skills to thrive in today’s Linux Community. With over 20 years of Linux and System Administration experience, Jay (your host) shares practical insights to help you succeed with Linux β€” whether at home, in the data center, or in the cloud. Whether it’s Debian, Ubuntu, Fedora, Arch, or Proxmox, you’ll learn how to build, secure, and manage systems with confidence! β€’ Linux made simple: tutorials, reviews, and sysadmin tips you can actually use. β€’ Your go-to channel for Linux tutorials, distro reviews, and real-world sysadmin skills. β€’ Where beginners become power users, and pros sharpen their Linux skills. Subscribe and join a community of hundreds of thousands of Linux enthusiasts who are learning, building, and growing with open source.

Video Description

NFS (Network File System) is a fantastic way to share files between Linux and UNIX machines. In this video, Jay walks you through the process of setting up an NFS server on Ubuntu, complete with a walkthrough on mounting the exports. Not only that, you'll see how you can utilize AutoFS for on-demand mounting as well. Thanks to Linode for sponsoring today's video! Check them out to set up your very own Linux server in minutes! ➜ https://learnlinux.link/akamai *🐧 Donate to Learn Linux TV and Receive a PDF with tips for switching to Linux* Contains over 40 pages of tips and recommendations to help make your transition easier! Check it out here ➜ https://learnlinux.link/linux-desktop-tips *πŸ’§ Spin up some Linux Servers with Digital Ocean* Digital Ocean is a great way to quickly spin up some Linux machines! β€’ Check it out here ➜ https://learnlinux.link/digitalocean (Affiliate Link) *πŸ“„ Check out this awesome Linux commands cheatsheet!* Support Learn Linux TV and grab yourself this super-handy cheatsheet, featuring all the important Linux commands and their most useful options. Grab yours here ➜ https://learnlinux.link/linux-commands *❀️ Consider becoming a Channel Member* Support Linux Learning and gain acess to exclusive perks, such as ad-free content and early access to select videos. Your support really helps!!! Join here ➜ https://learnlinux.link/member *πŸ›οΈ Support The Channel and Get Awesome Linux Swag!* Head on over to the Learn Linux TV Merch Shop and check out some great Linux-themed gear, including (but not limited to) T-shirts, drinkware, buttons, stickers and more! β€’ "apt install coffee" T-Shirt ➜ https://learnlinux.link/apt-install-coffee β€’ "sudo" T-Shirt ➜ https://learnlinux.link/sudo-shirt β€’ Linux Commands Cheat Sheet ➜ https://learnlinux.link/linux-commands β€’ "May Spontaneously Talk About Linux" T-Shirt ➜ https://learnlinux.link/talk-about-linux-shirt β€’ "Dark Side of the Terminal" T-Shirt ➜ https://learnlinux.link/dark-side-shirt β€’ Lots more ➜ https://merch.learnlinux.tv _Use coupon code "LINUXFAN" to get 10% off your entire order ➜ https://merch.learnlinux.tv_ *🐧 Other Ways to Support Learn Linux TV* β€’ Patreon ➜ https://learnlinux.link/patron β€’ Spin up your very own Linux server ➜ https://learnlinux.link/digitalocean β€’ Linux swag ➜ https://merch.learnlinux.tv β€’ Check out Netdata ➜ https://learnlinux.link/netdata β€’ Jay's Gear ➜ https://learnlinux.link/amazon _Note: Royalties and/or commission is earned from each of the above links_ Check out the blog post for this video for all the commands I used: - Official blog post for this video ➜ https://www.learnlinux.tv/?p=2415 *πŸ• Time Codes* 00:00 - Intro 01:04 - Set up your very own cloud Linux server with Linode (sponsor) 02:53 - Setup notes and what you'll need to get started 04:48 - Creating the base directory for NFS shares 05:58 - Installing the NFS server component on Ubuntu 07:05 - Setting up the NFS service and exports 12:27 - Creating test files for testing the shares/exports 13:41 - Setting up the NFS client package (nfs-common) 14:36 - Testing connectivity between the client and server with the showmount command 16:09 - Setting up the parent directory on the client for mounting shares/exports 17:32 - Manually mounting an NFS share/export 20:04 - Using AutoFS to automatically mount NFS shares/exports*πŸŽ“ Full Linux Courses* β€’ Linux Crash Course ➜ https://linux.video/cc β€’ Netdata ➜ https://linux.video/netdata β€’ tmux ➜ https://linux.video/tmux β€’ vim ➜ https://linux.video/vim β€’ Bash Scripting ➜ https://linux.video/bash β€’ Proxmox VE ➜ https://linux.video/pve β€’ Ansible (Paid) ➜ https://learnlinux.link/ansible β€’ LPI Linux Essentials (Paid) ➜ https://learnlinux.link/linux-essentials *πŸŽ“ More About Learn Linux TV* β€’ Main site ➜ https://www.learnlinux.tv β€’ Community Forums ➜ https://community.learnlinux.tv β€’ Github Account ➜ https://github.com/LearnLinuxTV β€’ Content Ethics ➜ https://www.learnlinux.tv/content-ethics β€’ Request Paid Assistance ➜ https://www.learnlinux.tv/request-assistance ⚠️ Use Content Responsibly Learn Linux TV shares technical content intended to teach and help you, but it comes with no warranty. The channel is not liable for any damages from its use. Always ensure you have proper permissions, follow company policies, and comply with all applicable laws while working with infrastructure. #Linux #NFS #LinuxServer

You May Also Like

NFS Server Setup Essentials

AI-recommended products based on this video

Loading...
BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

(44)
$219.00
PrimeFREE delivery Mon, Jun 16
Loading...
Western Digital 2TB WD Blue SA510 SATA Internal Solid State Drive SSD - SATA III 6 Gb/s, 2.5"/7mm, Up to 560 MB/s - WDS200T3B0A

Western Digital 2TB WD Blue SA510 SATA Internal Solid State Drive SSD - SATA III 6 Gb/s, 2.5"/7mm, Up to 560 MB/s - WDS200T3B0A

(74,910)
$169.97
FREE delivery Tue, Jun 17
50+ bought in past month
Loading...
Western Digital Black 2TB P10 Game Drive for Xbox One, Portable External Hard Drive with 1-Month Xbox Game Pass - WDBA6U0020BBK-WESN

Western Digital Black 2TB P10 Game Drive for Xbox One, Portable External Hard Drive with 1-Month Xbox Game Pass - WDBA6U0020BBK-WESN

(34,481)
$124.99$111.33
PrimeFREE delivery Jun 19 - 20
Loading...
Western Digital 4TB My Passport Portable External Hard Drive HDD, USB 3.0, USB 2.0 Compatible, Black - WDBPKJ0040BBK-WESN

Western Digital 4TB My Passport Portable External Hard Drive HDD, USB 3.0, USB 2.0 Compatible, Black - WDBPKJ0040BBK-WESN

(111,552)
$154.99$139.49
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
Western Digital 4TB My Book Desktop External Hard Drive, USB 3.0, External HDD with Password Protection and Backup Software - WDBBGB0040HBK-NESN

Western Digital 4TB My Book Desktop External Hard Drive, USB 3.0, External HDD with Password Protection and Backup Software - WDBBGB0040HBK-NESN

(4,704)
$148.98$138.55
FREE delivery Tue, Jun 17
Loading...
BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

(44)
$219.00
PrimeFREE delivery Mon, Jun 16
Loading...
DCNETWORK iPhone 4s Cable USB Sync and Charging Cable for iPhone 4 4s 3G 3GS iPad 1 2 3 iPod Touch Nano 30 Pin Charger Cord Dock Adapter Data 3.3 Feet (White)

DCNETWORK iPhone 4s Cable USB Sync and Charging Cable for iPhone 4 4s 3G 3GS iPad 1 2 3 iPod Touch Nano 30 Pin Charger Cord Dock Adapter Data 3.3 Feet (White)

(943)
$5.99
FREE delivery Sat, Jun 14 on your first order
500+ bought in past month