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



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

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

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/linode

SUPPORT LEARN LINUX TV’S AWESOME CONTENT
Note: Commission may be earned for any and all links presented here.
• Become a channel member here on YouTube ➜ https://learnlinux.link/join
• Become a Patron on Patreon ➜ https://learnlinux.link/patron
• Set up your own cloud server with Linode ➜ https://learnlinux.link/linode

SPOIL YOURSELF WITH A LINUX-RELATED GIFT
• Mastering Ubuntu Server 4th Edition (Jay wrote that!!! 😲) ➜ http://ubuntuserverbook.com
• Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
• Awesome KVM for your Homelab ➜ https://learnlinux.link/tinypilot

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

INDIVIDUAL SECTIONS
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

LINUX BEGINNERS SHOULD WATCH THESE ESSENTIAL VIDEOS
• How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
• Installing an operating system for Raspberry Pi ➜ https://linux.video/pi-imager
• Understanding Linux permissions ➜ https://linux.video/perms
• Essential tweaks for ALL Linux Servers ➜ https://linux.video/all-servers

BRUSH UP YOUR SKILLS WITH THESE STAND-ALONE TUTORIALS
• OpenSSH Guide ➜ https://linux.video/bash
• How to better secure OpenSSH ➜ https://linux.video/secure-ssh
• 10 Linux Terminal Tips and Tricks to Enhance Your Workflow ➜ https://linux.video/cli-tricks-1
• Over 15 Terminal Tricks You Should Learn ➜ https://linux.video/cli-tricks-2

CHECK OUT THESE LINUX COURSES TO LEVEL UP YOUR TUX POWERS
• Get up to speed with managing an OpenStack Cloud ➜ https://linux.video/openstack
• Learn how to write your own Bash Scripts ➜ https://linux.video/ssh
• Install, configure, and maintain a Proxmox VE Cluster ➜ https://linux.video/pve
• Automate tedious setup jobs by learning Ansible ➜ https://linux.video/ansible
• Learn how to exit vim (and use it too) ➜ https://linux.video/vim

LISTEN TO A GEEKY PODCAST
• Enterprise Linux Security ➜ https://enterpriselinuxsecurity.show
• The Homelab Show ➜ https://thehomelab.show

WORK ON A FUN LINUX PROJECT
• Run your own Gitlab CE Server ➜ https://linux.video/gitlab
• Build a Kubernetes Cluster on Proxmox ➜ https://linux.video/pve-k8s
• Set up your own Nextcloud Server ➜ https://linux.video/nextcloud

VISIT THESE OFFICIAL LEARN LINUX TV SITES
• Main site ➜ https://www.learnlinux.tv
• Community ➜ https://community.learnlinux.tv

LEARN MORE ABOUT THE HOST
• Personal blog ➜ https://www.jaylacroix.com
• Twitter ➜ https://learnlinux.link/twitter

FAQ
• Which distro do I use? ➜ https://learnlinux.link/mydistro
• My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff

Disclaimer: LearnLinuxTV provides technical content on YouTube that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of this content. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production systems and hardware.

#Linux #NFS #LinuxServer

Comments are closed.