Skip to content

File shares

Sharing directories over the network: NFS for Linux clients, Samba for Windows, macOS and Linux. Exporting, checking the configuration, managing Samba users and testing access.

Basics: NFS or Samba, /etc/exports and smb.conf, setting up a share step by step, ports and firewall

NFS

Samba

From other chapters

  • mount


    Mount NFS and SMB shares on a client. Covered in the chapter Storage.

  • useradd


    Create users for Samba. Covered in the chapter Users & groups.

  • ufw


    Open the ports for your own network only. Covered in the chapter Network.

  • firewall-cmd


    Allow the services nfs and samba on RHEL. Covered in the chapter Network.