ITNuvoAkademiya
Academy homePackagesPlaylistsToolsSubnet calculatorSearchGlossary
CiscoCCNA · CCNA: networking fundamentals1. Introduction2. Network Fundamentals3. Network Access4. IP Connectivity5. IP Services6. IPv67. Security Fundamentals8. AutomationCCNP: Enterprise networks · coming soon
LinuxLinux: system administrator üçün · Linux for system administrators1. Getting to know Linux2. Working with text3. Users and permissions4. Processes and packages5. Inside the system6. Monitoring and logs7. NetworkingRed Hat Enterprise Linux · Red Hat Enterprise Linux: from beginner to advanced1. Getting started2. Packages3. Users and permissions4. SELinux5. Services6. Storage7. Networking8. Building services9. Boot and recovery10. DevOps11. Security and monitoring
FortinetFortiGate Administrator · FortiGate Administrator: from first login to ZTNA1. Getting to know FortiGate2. Routing, policy and NAT3. Security profiles4. Users and logs5. Resilience, SD-WAN and automation6. VDOM7. VPN and ZTNA8. Proxy9. DMZ
MonitoringZabbix · Zabbix: from installation to alerts1. Introduction2. Installation and the database3. Basics: groups, templates, users4. Connecting devices5. Alerts, Grafana and the API
VirtualizationProxmox VE · coming soonVMware ESXi · coming soon
My account / Sign in
AZENRU
← itnuvo.com

File sharing: NFS server and client

Lesson 8.38 minAdvancedDecember 1, 2026

Sign in to read this lesson

When there are several web servers, uploaded files must be the same on all of them, and users' home directories must not depend on which server they log in to. On RHEL the standard solution is NFS. In this lesson we build an NFS server on srv-db01 and attach it on srv-web01 both with fstab and with autofs.

What you will learn

  • Server: dnf install nfs-utils, a share in /etc/exports, systemctl enable --now nfs-server, exportfs -rav.
  • exports syntax: /srv/uploads 10.20.0.0/24(rw,sync,root_squash) — there must be no space between the network and the parenthesis.
  • firewalld: nfs for NFSv4; also mountd and rpc-bind so showmount works.
  • Client: showmount -e srv-db01, in fstab srv-db01:/srv/uploads /mnt/uploads nfs defaults,_netdev 0 0, or autofs (6.5).
  • SELinux: the nfs_export_all_rw boolean for shared directories is on by default on RHEL; if httpd reads from NFS, httpd_use_nfs.

The lesson has 5 key points, an explanation and 5 questions. It opens with a package.