Posts

How to Configure Samba and Work with SUSE Linux – Step-by-Step Guide for Sysadmins

How to Configure Samba and Work with SUSE Linux – Step-by-Step Guide for Sysadmins 📘 Introduction If you’re a Linux administrator managing file sharing in a mixed environment or exploring SUSE Enterprise Linux, this post is for you. In this detailed guide, we’ll walk through setting up Samba for Windows-Linux file sharing and SUSE (SLES) system administration basics—tailored for professionals with 3+ years of Linux experience . 📂 What is Samba in Linux? Samba is an open-source software suite that allows seamless file and printer sharing between Linux and Windows systems using the SMB/CIFS protocol. 🔧 Use Cases: Share Linux folders with Windows clients. Allow authenticated access to shared drives. Use Linux as a domain member in Windows networks. 🛠️ Step-by-Step Samba Setup on Linux ✅ Step 1: Install Samba sudo yum install samba samba-client samba-common -y # RHEL/CentOS sudo apt install samba -y # Debian/Ubuntu ✅ Step 2: Create a Shared Directory sud...

Best Tools to Practice Linux at Home – Budget-Friendly Setup for Beginners

  📌 Introduction: Getting hands-on with Linux is the best way to learn system administration and DevOps. Whether you're a student or a beginner preparing for your first job, setting up a home lab doesn't have to be expensive. In this post, I’ll share the essential tools you need to practice Linux at home —along with affordable product links from Amazon. 🖥️ 1. Laptop or Desktop for Virtualization You need a system that can run virtual machines or Linux OS directly. 💡 Recommended: ✅ At least 8GB RAM and 256GB SSD 🛒 Product: 👉 ASUS VivoBook 15 (Intel i3, 8GB RAM, 512GB SSD) Affordable and powerful enough for Linux, Docker, or even small Kubernetes clusters. 📀 2. USB Drive or External SSD Used for bootable Linux distros or backups. 🛒 Product 1 – USB Drive (32GB): 👉 SanDisk Ultra USB 3.0 32GB Pen Drive 🛒 Product 2 – External SSD (250GB): 👉 Samsung T7 Portable SSD – 500GB 🌐 3. Wi-Fi Router (for SSH & Lab Networking) Create a home network to practice...

Step-by-Step Guide to Setup NFS and Samba on Linux (Beginner Friendly)

  📌 Introduction: Sharing files across a network is a common task in Linux system administration. Two popular methods are NFS (Network File System) and Samba (SMB/CIFS) . In this guide, you’ll learn how to set up both NFS and Samba step-by-step , so you can enable file sharing between Linux and Windows systems. 🔧 Part 1: Setting Up NFS (Linux-to-Linux File Sharing) ✅ 1. Install NFS Packages On both server and client: bash Copy Edit sudo yum install nfs-utils -y # RHEL/CentOS sudo apt install nfs-kernel-server nfs-common -y # Ubuntu/Debian ✅ 2. Create Shared Directory on NFS Server bash Copy Edit sudo mkdir -p /srv/nfs_share sudo chown nobody:nogroup /srv/nfs_share sudo chmod 777 /srv/nfs_share ✅ 3. Configure NFS Exports Edit the exports file: bash Copy Edit sudo nano /etc/exports Add: bash Copy Edit /srv/nfs_share 192.168.1.0/24(rw, sync ,no_subtree_check) Then apply the export: bash Copy Edit sudo exportfs -a ✅ 4. Start and Enable NFS Services bash...