Module Title: dgt_sys04 – NFS and Samba
Overview:
This comprehensive module is designed to equip participants with the essential skills and knowledge required for effective administration of network file sharing on Linux systems. It focuses on two major protocols used in file sharing across networks: Network File System NFS and Samba. The module combines theoretical learning with practical exercises, allowing attendees to gain hands-on experience in setting up, configuring, and managing these systems.
module Objectives:
1. Understand the fundamentals of network file sharing and its importance within Linux environments.
2. Explore the architecture, configuration, and deployment of NFS for Unix/Linux based file sharing.
3. Learn about Sambas role in providing Windows interoperability with Linux/Unix systems using SMB/CIFS protocols.
4. Gain practical experience in setting up, securing, and troubleshooting NFS and Samba services.
5. Develop skills to manage user permissions, directories, and shares effectively across different platforms.
Modules:
- Introduction to Network File Sharing
- Overview of file sharing concepts
- Benefits of networked file systems
-
Understanding the difference between local and remote file access
-
Network File System NFS
- History and development of NFS
- Core components and architecture of NFS
- Step-by-step guide to installing and configuring NFS on Linux
- Managing exports, permissions, and security for NFS shares
-
Performance tuning and best practices for NFS
-
Samba Overview
- Introduction to Samba and its role in Windows interoperability
- Understanding SMB/CIFS protocols
-
Key features of Samba: domains, workgroups, and authentication methods
-
Configuring Samba Services
- Installing and setting up Samba on Linux systems
- Configuring Samba for various use cases e.g., standalone server, domain controller
- Setting user permissions and access controls
-
Integrating with existing Active Directory environments
-
Security Considerations
- Best practices for securing NFS and Samba shares
- Implementing firewall rules and SELinux/AppArmor policies
- Encrypting data in transit for both protocols
-
Regular maintenance tasks: updating, logging, monitoring, and auditing
-
Troubleshooting and Performance Optimization
- Common issues faced with NFS and Samba configurations
- Tools and techniques for diagnosing problems
-
Methods to enhance the performance of file-sharing services
-
Practical Lab Sessions
- Hands-on labs allowing participants to configure and manage both NFS and Samba setups.
- Scenario-based exercises simulating real-world network environments.
Target Audience:
This module is ideal for system administrators, IT professionals, and network engineers who are responsible for managing Linux systems or require interoperability between Unix/Linux and Windows networks. Participants should have a basic understanding of Linux command-line operations and networking concepts to maximize their learning experience.
By the end of this module, participants will be well-prepared to implement and manage efficient and secure file-sharing solutions across diverse network environments using NFS and Samba.
The students can push their exercises to the Academy DevOps & SRE GIT project. For this module, create a folder with your username as its name in the following subfolder: https://github.com/Garanti-Del-Talento/gdt_academy