Overview
π§ Linux Fundamentals & Comparison
π Overview
π― Master Linux Fundamentals and Core Concepts
This guide covers the fundamental concepts of Linux, understanding how it compares to Windows, filesystem types, partitioning strategies, and core operating system concepts essential for system administration and DevOps engineering.
π What This Guide Covers
| Icon | Topic | Description |
|---|---|---|
| π₯οΈ | Linux vs Windows | Core differences, advantages, and use cases |
| πΎ | Filesystems | Ext4 vs XFS comparison and storage concepts |
| π§ | Partitioning | Linux partitioning strategy and disk layout |
| π³ | Root Concepts | Root user types and filesystem hierarchy |
| π¦ | Hardware Requirements | Installation prerequisites and recommendations |
| βοΈ | System Configuration | Basic Linux configuration and boot procedures |
π Module Navigation
π Fundamentals Section Contents
- β 1. Overview (This file) - What you'll learn
- π₯οΈ 2. Linux vs Windows - OS comparison and advantages
- πΎ 3. Filesystems - Ext4 vs XFS, storage concepts
- π§ 4. Partitioning - Disk layout and strategies
- π³ 5. Root Concepts - User hierarchy and filesystem
- π¦ 6. Hardware Requirements - Specs and RHEL 6 vs 7
β¬ οΈ Previous Module: Introduction to Linux
β‘οΈ Next Module: Installation
πΊοΈ Full Course Path:
Introduction
β
Fundamentals (β YOU ARE HERE)
ββ Linux vs Windows
ββ Filesystems
ββ Partitioning
ββ Root Concepts
ββ Hardware Requirements
β
Installation
β
System Configuration
β
... and more
π Additional Resources
- π Red Hat Enterprise Linux 7 Docs: access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/
- π Linux Documentation Project: tldp.org
- π§ Linux Filesystem Hierarchy: refspecs.linuxfoundation.org
- π‘ Linux Command Reference: man7.org
- π Interactive Linux Training: linuxacademy.com
π Ready to start? Pick a topic from the subtopic sidebar to begin!
Linux vs Windows
π₯οΈ Linux vs Windows Operating System
π Comprehensive Comparison
Key Differences
| Aspect | π§ Linux | πͺ Windows |
|---|---|---|
| Open Source | β Fully open source | β Proprietary |
| Developer | π§ Red Hat, Canonical, Community | πͺ Microsoft |
| Cost | π° Free/Low cost | π΅ Licensed (paid) |
| Root/Admin User | π Root user has full permission | π¨βπΌ Administrator has full permission |
| User Accounts | π₯ Multiple simultaneous logins (6+) | π€ Single user login at a time |
| Desktop Environments | π₯οΈ GNOME & KDE (multiple options) | π₯οΈ Only KDE (single option) |
| User Interface | β¨οΈ CLI-focused, GUI available | π±οΈ GUI-focused |
| File System | πΎ Ext4, XFS, Btrfs | πΎ FAT32, NTFS |
| Path Separators | / Forward slash | \ Backslash |
| Security Model | π Multi-user security | π Single-user focus |
| Permissions | π Fine-grained (rwx) | π Simple ACLs |
| Case Sensitivity | β Yes (filename case matters) | β No (case insensitive) |
| Virus Vulnerability | π‘οΈ Resistant (can't attack easily) | β οΈ Vulnerable (viruses can attack) |
| Reboot Required | π’ Not required for package install/remove | π΄ Often required for package install/remove |
| Command Line | β‘ Powerful, essential | β‘ Optional (PowerShell) |
| Primary Language | π» C & Assembly | π» C & C++ |
| Development | π§βπ» Developed by C language | π§βπ» Developed by C & C++ languages |
| Stability | π’ Very stable (years without restart) | π’ Stable (frequent updates) |
| User Friendliness | π€ Not user friendly (learning curve) | π User friendly (intuitive) |
| Server Adoption | π Dominant in servers | π’ Enterprise/corporate servers |
| Portability | π High (everywhere - servers, desktops, embedded) | π₯οΈ Windows ecosystem only |
β Linux Advantages
| Advantage | Benefit |
|---|---|
| π° Free and Open Source | No licensing costs, transparent development |
| π Security | Multi-user, multi-tasking environment with granular permissions |
| β±οΈ Stability | Can run for years without restart or degradation |
| π Portability | Runs on servers, desktops, embedded systems, and cloud |
| π₯ Community | Massive community support and documentation |
| βοΈ CLI Power | Advanced scripting, automation, and system control |
| π Scalability | Powers major cloud infrastructure and enterprises |
| π Performance | Optimized for high-performance computing |
| π§ Flexibility | Highly customizable for specific use cases |
π Navigation
β¬ οΈ Previous: 1. Overview
π Current Location: 2. Linux vs Windows (You are here)
β‘οΈ Next Step: 3. Filesystems
πΊοΈ Full Course Path:
Introduction β Fundamentals (β [Linux vs Windows] β Filesystems β Partitioning β Root Concepts β Hardware Requirements) β Installation
π Additional Resources
- π Red Hat Documentation: access.redhat.com/documentation
- π Linux vs Unix Comparison: kernel.org
- π‘ GNU Linux Operating System: gnu.org
- π Linux Foundation: linuxfoundation.org
- π Linux Adoption Statistics: w3techs.com
π Ready to start? Pick a topic from the subtopic sidebar to begin!
Filesystems
πΎ Linux Filesystems
π Ext4 vs XFS Filesystem
Ext4 (Fourth Extended Filesystem) π΅
β‘ Performance: Good
π¦ File Limit: 16TB (terabytes)
πΎ Filesystem Limit: 1EB (exabytes)
π Journaling: Yes (data integrity)
π Compatibility: Ext2, Ext3, Ext4
π― Best For: General-purpose systems
β Advantages:
- π Widely supported across distributions
- β‘ Good performance for most workloads
- π Reliable journaling mechanism
- π Backward compatible with older filesystems
- π‘ Easy to maintain and recover
β Disadvantages:
- π’ Slower for large file operations
- π Not optimized for parallel I/O
- β οΈ Performance degrades with large files
XFS (Extended File System) π΄
β‘ Performance: Excellent
π¦ File Limit: 8EB (exabytes)
πΎ Filesystem Limit: 8EB (exabytes)
π Journaling: Yes (optimized)
π Compatibility: RHEL 7+ default
π― Best For: Enterprise, databases, large files
β Advantages:
- π Superior performance with large files
- π Better parallel I/O handling
- π’ Enterprise-ready and battle-tested
- π» Lower CPU overhead for operations
- π Excellent for I/O-intensive workloads
β Disadvantages:
- π Less backward compatibility
- πΎ Requires more RAM for large files
- β οΈ No online shrinking capability
- π§ Requires more advanced administration
π Comparison Table
| Feature | Ext4 | XFS |
|---|---|---|
| Full Name | Fourth Extended FS | Extents File System |
| Introduced In | RHEL 6 | RHEL 7 |
| Performance | βββ Good | βββββ Excellent |
| Large Files | ββ Fair | βββββ Excellent |
| Parallel I/O | ββ Fair | βββββ Excellent |
| Max File Size | 16 TB (16 Tbytes) | 8 EB (8 Ebytes) |
| Max Volume Size | 1 EB (1 Ebyte) | 8 EB (8 Ebytes) |
| Max Filename Size | 255 bytes | 255 bytes |
| Max Number of Files | 4 billion | 2^64 (unlimited) |
| Max Subdirectories | 64,000 max per directory | No limit |
| Format Command | mkfs.ext4 /dev/sda4 | mkfs.xfs /dev/sda4 |
| Memory Usage | π Lower | β οΈ Higher |
| Enterprise Ready | β Yes | β Yes |
| RHEL 7+ Default | β No | β Yes |
| Journaling | β Yes | β Yes |
| Recovery Speed | π‘ Medium | π’ Fast |
π Decision Matrix
Choose Ext4 when:
- β System has limited resources (RAM, CPU)
- β General-purpose server deployments
- β Compatibility is priority
- β Small to medium file sizes
- β Traditional LAMP stack environments
Choose XFS when:
- β High-performance computing (HPC) workloads
- β Database servers (PostgreSQL, MySQL, Oracle)
- β Large file handling (media, scientific data)
- β Cloud and enterprise deployments
- β I/O-intensive applications
- β Parallel processing environments
π Navigation
β¬ οΈ Previous: 2. Linux vs Windows
π Current Location: 3. Filesystems (You are here)
β‘οΈ Next Step: 4. Partitioning
πΊοΈ Full Course Path:
Introduction β Fundamentals (β Linux vs Windows β [Filesystems] β Partitioning β Root Concepts β Hardware Requirements) β Installation
π Additional Resources
- π Red Hat Documentation: access.redhat.com/documentation
- π Linux Filesystems (Kernel Docs): kernel.org/doc/html/latest/filesystems/
- π§ Ext4 Technical Details: ext4 Wikipedia
- π XFS Project: xfs.wiki.kernel.org
- π‘ RHEL Release Notes: access.redhat.com/articles/rhel-release-notes
π Ready to start? Pick a topic from the subtopic sidebar to begin!
Partitioning
π§ Linux Partitioning
π Understanding Partitions
A partition is a logical division of a physical disk into independent sections. Each partition can have its own filesystem and be mounted independently.
Partition Types:
| Type | Limit | Usage |
|---|---|---|
| π¦ Primary | Max 4 per disk | Standard partitions for boot and main systems |
| πͺ Extended | 1 container | Wrapper for logical partitions |
| π© Logical | Unlimited | Partitions within extended container |
π Standard Linux Partition Layout
| Mount Point | Size | Purpose |
|---|---|---|
| / (Root) | 20-50 GB | π― Main filesystem, system files, core binaries |
| /boot | 512 MB - 1 GB | π Kernel and bootloader files, GRUB configuration |
| /home | 50+ GB | π€ User home directories and personal files |
| /var | 5-20 GB | π Variable data: logs, caches, spool files |
| /tmp | 1-5 GB | ποΈ Temporary files (cleared on reboot) |
| /usr | 10-20 GB | π¦ User programs, libraries, documentation |
| /etc | 1 GB | βοΈ System configuration files |
| /opt | 5+ GB | π§ Optional/third-party software packages |
| /srv | Variable | π Service data (web, FTP, etc.) |
| Swap | 2-8 GB | πΎ Virtual memory (1.5-2x RAM size) |
Special Filesystems (Virtual):
/dev - Device files (character/block devices)
/proc - Process and system information
/sys - System and kernel information
/run - Runtime data
π¨ Partition Schema Example
Physical Disk: /dev/sda
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β RHEL 7 Standard Partitioning Scheme β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β /dev/sda1 [512 MB - 1 GB] βββ /boot β
β (xfs, primary) Kernel + GRUB2 β
β β
β /dev/sda2 [20-50 GB] βββββββ / (root) β
β (xfs, primary) System files β
β β
β /dev/sda3 [5-20 GB] βββββββ /var β
β (xfs, primary) Logs & spool β
β β
β /dev/sda4 [Extended Container] (remaining) β
β βββ /dev/sda5 [Remaining space] βββ /homeβ
β β (xfs, logical) User files β
β βββ Swap [2-8 GB] Virtual memory β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Total: ~40-85 GB for typical RHEL 7 installation
π― Partitioning Strategies
1. Minimal Partitioning (Simple Deployments)
Suitable for: Development, testing, single-purpose servers
/dev/sda1 βββ /boot [512 MB]
/dev/sda2 βββ / [Remaining space]
Swap βββ [2-4 GB]
β Pros: Simple management, no fragmentation β Cons: Less isolation, harder to manage disk space
2. Standard Partitioning (Recommended for RHEL)
Suitable for: Production servers, general purpose
/dev/sda1 βββ /boot [512 MB - 1 GB]
/dev/sda2 βββ / [20-30 GB]
/dev/sda3 βββ /var [5-10 GB]
/dev/sda4 βββ /home [Remaining]
Swap βββ [2-8 GB]
β Pros: Good isolation, prevents full / from /var logs β Cons: Requires space planning
3. Advanced Partitioning (Enterprise/HPC)
Suitable for: Databases, web servers, high-performance systems
/dev/sda1 βββ /boot [512 MB]
/dev/sda2 βββ / [15 GB]
/dev/sda3 βββ /var [10 GB]
/dev/sda4 βββ /var/log [20 GB]
/dev/sda5 βββ /home [Remaining]
/dev/sda6 βββ /opt [10+ GB]
Swap βββ [8+ GB]
β Pros: Maximum isolation and control β Cons: Complex management, careful monitoring needed
π Bootloaders: LILO vs GRUB vs GRUB2
Understanding Bootloaders
A bootloader is the first program that runs when you power on your computer. It loads the kernel into memory and hands control to it.
Bootloader Comparison
| Feature | LILO | GRUB | GRUB2 |
|---|---|---|---|
| Full Form | π΄ LInux LOader | π‘ GRand Unified Bootloader | π’ GRUB version 2 |
| RHEL Support | RHEL 6 (legacy) | RHEL 6+ | RHEL 7+ (default) |
| Status | β Deprecated | β οΈ Legacy | β Current Standard |
| Configuration | /etc/lilo.conf | /boot/grub/grub.conf | /boot/grub2/grub.cfg |
| Interactive Menu | β No | β Yes | β Yes |
| Menu Editing | β Limited | β Yes (at boot) | β Yes (at boot) |
| Modules | β Not supported | β οΈ Limited | β Full module support |
| File System Support | Limited | Good | Excellent |
| Boot Time | π΄ Slow | π‘ Medium | π’ Fast |
| GUI Support | β No | β οΈ Basic | β Full |
| EFI/UEFI Support | β No | β No | β Yes |
π΄ LILO (LInux LOader)
Legacy bootloader used in early Linux systems
Features:
ββ Very simple bootloader
ββ Limited functionality
ββ No interactive menu
ββ Stored in Master Boot Record (MBR)
ββ Deprecated in modern RHEL versions
Installation Command:
# lilo
Configuration File:
# /etc/lilo.conf
When Used: RHEL 5 and earlier
π‘ GRUB (GRand Unified Bootloader)
Enhanced bootloader with better functionality
Features:
ββ Interactive boot menu
ββ Can edit boot parameters at runtime
ββ Better filesystem support
ββ Supports multiple operating systems (dual boot)
ββ Menu-driven interface
ββ Configuration persists in /boot/grub/
Installation Commands:
# grub-install /dev/sda
# grub
Configuration File:
# /boot/grub/grub.conf (or /boot/grub/menu.lst)
When Used: RHEL 6
π’ GRUB2 (GRand Unified Bootloader version 2)
Modern bootloader with advanced features
Features:
ββ Modular architecture
ββ Full UEFI/EFI support
ββ Dynamic menu generation from scripts
ββ Enhanced security features
ββ Better error recovery
ββ Network booting support
ββ Supports more filesystems
Installation Commands:
# grub2-install /dev/sda
# grub2-mkconfig -o /boot/grub2/grub.cfg
Configuration File:
# /boot/grub2/grub.cfg (auto-generated from /etc/default/grub)
When Used: RHEL 7+ (default)
Common GRUB2 Commands
# Regenerate GRUB2 configuration
grub2-mkconfig -o /boot/grub2/grub.cfg
# Install GRUB2 to a disk
grub2-install /dev/sda
# Edit GRUB2 parameters
nano /etc/default/grub # Edit configuration
grub2-mkconfig -o /boot/grub2/grub.cfg # Rebuild
# View current bootloader
grubby --default-kernel # Show default kernel
grubby --info=ALL # Show all boot entries
# Set default kernel
grubby --set-default /boot/vmlinuz-3.10.0-957 # Set specific kernel
π Boot Process Flow (RHEL 7 with GRUB2)
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β System Powered On β
ββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β BIOS/UEFI Firmware Initialization β
β ββ Performs POST (Power-On Self-Test) β
ββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β GRUB2 Bootloader Loaded from MBR β
β ββ Located in /boot/grub2/ directory β
ββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β GRUB2 Menu Displayed β
β ββ User selects kernel/OS
β ββ Can edit boot parameters
ββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β Kernel Loaded into Memory β
β ββ vmlinuz-* image from /boot/ β
ββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β Initial RAM Filesystem Loaded β
β ββ initramfs-*.img with drivers β
ββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β Systemd Init System Started (PID 1) β
β ββ Mounts root filesystem
ββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β System Boots Completely β
β
β ββ Ready for user login β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
βοΈ Key Partitioning Considerations
| Consideration | Impact | Recommendation |
|---|---|---|
| π Swap Size | VM performance | 1.5-2x RAM, min 2GB, max 8GB |
| π /var Isolation | System stability | Separate if logs can fill disk |
| π /home Size | User space | Can grow large, allocate accordingly |
| π /boot Size | Kernel updates | 1GB ensures multiple kernels |
| π» Filesystem Type | Performance | XFS for RHEL 7+, Ext4 for compatibility |
| πΎ Disk Space | Flexibility | 20GB minimum, 50GB+ recommended |
| π Encryption | Security | Consider /home encryption for sensitive data |
π Navigation
β¬ οΈ Previous: 3. Filesystems
π Current Location: 4. Partitioning (You are here)
β‘οΈ Next Step: 5. Root Concepts
πΊοΈ Full Course Path:
Introduction β Fundamentals (β Linux vs Windows β Filesystems β [Partitioning] β Root Concepts β Hardware Requirements) β Installation
π Additional Resources
- π Red Hat: Disk Partitions: access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/sec-disk_partitions
- π Linux Filesystems: kernel.org/doc/html/latest/filesystems/
- π§ fdisk Guide: man7.org/linux/man-pages/man8/fdisk.8.html
- π‘ RHEL Installation Guide: access.redhat.com/documentation
π Ready to start? Pick a topic from the subtopic sidebar to begin!
Root Concepts
π³ Types of Root in Linux
π Root User (UID 0)
The superuser with unrestricted access to all system resources. Only one root user per system.
# Check current user
whoami # Output: root (or username)
# Show user ID and groups
id # Output: uid=0(root) gid=0(root) groups=0(root)
# Switch to root (if you have sudo permissions)
sudo su - # Switch with environment
sudo su # Switch without environment
su - # Prompt for root password
Root User Capabilities:
- π Full filesystem access (read/write/execute)
- π₯ Create/modify/delete any user
- βοΈ Modify system configuration
- π Start/stop services
- π¦ Install software system-wide
- π§ Change permissions on any file
- π« No restrictions except init system (PID 1)
π Root Filesystem
The primary filesystem mounted at / containing all system files, configurations, and boot files.
Contains:
- π§ System binaries and tools
- βοΈ Configuration files
- π Boot files and bootloader
- π System libraries
- π¨ Kernel modules
ποΈ Complete Root Directory Structure
/ (Root Filesystem)
β
βββ π§ /bin/ Essential user command binaries (ls, cat, cp, etc.)
βββ π /sbin/ System administration binaries (fdisk, ifconfig, etc.)
βββ π /lib/ Essential shared system libraries
βββ π /lib64/ 64-bit system libraries
β
βββ βοΈ /etc/ System configuration files
β βββ hostname System hostname
β βββ fstab Filesystem mount table
β βββ passwd User accounts database
β βββ group Group database
β βββ sudoers Sudo configuration
β βββ systemd/ Systemd services
β
βββ π€ /home/ User home directories
β βββ /username/ Individual user directories
β
βββ π /root/ Root user's home directory (superuser)
β
βββ π /var/ Variable data (changes during operation)
β βββ log/ System and service logs
β βββ spool/ Print and mail queues
β βββ cache/ Application cache
β βββ run/ Runtime data (PIDs)
β
βββ ποΈ /tmp/ Temporary files (world-writable)
β Cleared on reboot
β
βββ π¦ /usr/ User programs and libraries
β βββ /bin/ User binaries (less critical)
β βββ /sbin/ User system binaries
β βββ /lib/ User libraries
β βββ /local/ Locally installed software
β βββ /share/ Documentation, man pages
β
βββ π§ /opt/ Optional third-party software
β
βββ π /srv/ Service data (web, FTP, etc.)
β
βββ π /boot/ Bootloader and kernel files
β βββ vmlinuz Kernel image
β βββ initramfs Initial RAM filesystem
β
βββ π₯οΈ /dev/ Device files (character/block)
β βββ /sda First SATA disk
β βββ /sdb Second SATA disk
β βββ /tty Terminal devices
β βββ /null Null device
β
βββ π /proc/ Process information (virtual)
β βββ /cmdline Kernel boot parameters
β βββ /cpuinfo CPU information
β βββ /meminfo Memory information
β
βββ π /sys/ System/kernel information (virtual)
β
βββ β‘ /run/ Runtime data (non-persistent)
β
βββ π /usr/share/man/ Manual pages (documentation)
β
βββ π§ /mnt/ Temporary mount points
β
βββ π /media/ Removable media (USB, CD)
β
βββ π /initrd/ Initial RAM disk (legacy)
π₯ Root Privilege Levels
| Level | User | UID | Access | Purpose |
|---|---|---|---|---|
| π Root | root | 0 | Complete system access | System administration |
| π¨ Regular User | username | >1000 | Limited to own files | Daily tasks |
| π€ System User | daemon, mail, nobody | 1-999 | Limited services | Service operations |
| βοΈ Special | bin, sys, sync | <100 | System maintenance | OS functionality |
π Security Best Practices
| Practice | Benefit | How-To |
|---|---|---|
| β Never log in as root | Prevents accidents | Use sudo for admin tasks |
| β Use sudo carefully | Audit trail of actions | Grant only needed permissions |
| β Restrict /root permissions | Protect admin files | Keep 700 permissions |
| β Minimize root access | Reduce attack surface | Use regular users daily |
| β Monitor /var/log | Detect unauthorized access | Check sudo logs regularly |
| β Set root password | Prevent unauthorized root access | Use strong password |
π― Understanding UID Ranges
# UID Allocation in Linux:
0 = root (superuser)
1-499 = System accounts (reserved)
500-999 = System services (NFS, mail, etc.)
1000+ = Regular user accounts
π‘ Common Root Operations
# Switch to root user
sudo -i # Interactive login shell
sudo su # Non-login shell
su - # Direct switch (needs root password)
# Execute single command as root
sudo command
sudo systemctl start nginx
# Change file ownership to root
sudo chown root:root /path/to/file
sudo chown -R root:root /directory
# Change permissions (700 = user only)
sudo chmod 700 /root
# View sudo log (who ran what as root)
sudo journalctl SYSLOG_IDENTIFIER=sudo
# Check if user is in sudoers
sudo -l # List allowed commands for current user
π Navigation
β¬ οΈ Previous: 4. Partitioning
π Current Location: 5. Root Concepts (You are here)
β‘οΈ Next Step: 6. Hardware Requirements
πΊοΈ Full Course Path:
Introduction β Fundamentals (β Linux vs Windows β Filesystems β Partitioning β [Root Concepts] β Hardware Requirements) β Installation
π Additional Resources
- π UNIX File Hierarchy Standard: refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html
- π Linux User & Group IDs: man7.org/linux/man-pages/man5/passwd.5.html
- π Linux Permissions Guide: man7.org/linux/man-pages/man1/chmod.1.html
- π Red Hat Documentation: access.redhat.com/documentation
π Ready to start? Pick a topic from the subtopic sidebar to begin!
Hardware requirements
π¦ Hardware Requirements for RHEL
π RHEL Versions Lifecycle & Support Timeline
Content was rephrased for compliance with licensing restrictions
| Version | Release | Full Support End | Maintenance Support End | ELS End | Status | Latest |
|---|---|---|---|---|---|---|
| π’ 10 | May 2025 | May 31, 2030 | May 31, 2030 | May 31, 2039 | β Current | 10.2 |
| π’ 9 | May 2022 | May 31, 2027 | May 31, 2027 | May 31, 2036 | β Active | 9.8 |
| π‘ 8 | May 2019 | May 31, 2024 (Ended) | May 31, 2029 | May 31, 2033 | β οΈ Maintenance | 8.10 |
| π΄ 7 | Jun 2014 | Aug 6, 2019 (Ended) | Jun 30, 2024 (Ended) | May 31, 2029 | β ELS Only | 7.9 |
| π΄ 6 | Nov 2010 | May 10, 2016 (Ended) | Nov 30, 2020 (Ended) | Jun 30, 2024 (Ended) | β EOL | 6.10 |
| β« 5 | Mar 2007 | Jan 8, 2013 (Ended) | Mar 31, 2017 (Ended) | Nov 30, 2020 (Ended) | β EOL | 5.11 |
Legend:
- π’ Current/Supported (Active development and full support)
- π‘ Maintenance Phase (Security updates only)
- π΄ Extended Life Support (Limited critical fixes only)
- β End of Life (No support available)
π‘ Understanding RHEL Support Phases
| Phase | Duration | What You Get | Use Case |
|---|---|---|---|
| Full Support | ~5 years | New features, HW enablement, all fixes | Development, new deployments |
| Maintenance Support | ~5 years | Security & critical bug fixes only | Production systems, stability focus |
| Extended Life Support (ELS) | 4 years optional | Limited critical security fixes only | Legacy systems, migration planning |
| End of Life (EOL) | After ELS | No support, no updates | Retire or migrate urgently |
π§ RHEL 7 Minimum Hardware
| Component | Requirement | Notes |
|---|---|---|
| π₯οΈ Processor | 1 GHz or higher | Single core minimum, multi-core recommended |
| πΎ RAM | 512 MB minimum | 1 GB recommended for better experience |
| πΏ Disk Space | 10 GB minimum | 20 GB recommended for production |
| π¨οΈ Display | VGA card with 1024x768 | Headless installation also supported |
| π Boot Media | CD-ROM, DVD, or USB | USB recommended for faster install |
| π Network | Optional | Required for network installation |
β Recommended Configuration (Production)
| Component | Recommended Specification |
|---|---|
| π₯οΈ CPU | Dual core 2.0 GHz+ |
| πΎ RAM | 4 GB or more |
| πΏ Disk | 50 GB SSD (minimum) |
| π Network | Gigabit Ethernet |
| π¨οΈ Graphics | 1920x1080 or higher |
| β‘ Power | UPS for production |
Why these specs?
- πͺ 2+ cores handle concurrent processes
- π 4 GB RAM ensures smooth operations + services
- β‘ SSD provides 10-50x faster I/O
- π Gigabit network for enterprise environments
π― Use Case Hardware Recommendations
| Use Case | CPU | RAM | Disk | Network |
|---|---|---|---|---|
| π§ͺ Development/Testing | 2 core | 2-4 GB | 20 GB | 100 Mbps |
| π Web Server | 4 core | 8 GB | 50 GB SSD | Gigabit |
| ποΈ Database Server | 8+ core | 16+ GB | 100+ GB SSD | Gigabit |
| π Data Analytics | 16+ core | 32+ GB | 500+ GB | 10 Gigabit |
| π³ Container/Cloud | 8 core | 16-32 GB | 200 GB SSD | Gigabit+ |
π RHEL Version Evolution: 6 to 10
π Comprehensive Feature Comparison
| Feature | RHEL 6 | RHEL 7 | RHEL 8 | RHEL 9 | RHEL 10 |
|---|---|---|---|---|---|
| Release Year | 2010 | 2014 | 2019 | 2022 | 2025 |
| Kernel | 2.6.32 | 3.10+ | 4.18+ | 5.14+ | 6.x+ |
| Init System | π΄ SysVinit | π’ Systemd | β Systemd | β Systemd | β Systemd |
| Default Filesystem | π΄ Ext4 | π’ XFS | β XFS | β XFS | β XFS |
| File Structure | π΄ Traditional | π’ Merged /usr | β Merged | β Merged | β Merged |
| Module Loading | π΄ Manual | π’ Auto | β Auto | β Auto | β Auto |
| Bootloader | GRUB | GRUB2 | GRUB2 | GRUB2 | GRUB2 |
| Python | 2.6 | 2.7/3.3 | 3.6+ | 3.9+ | 3.12+ |
| Docker Support | β Limited | β Full | β Podman | β Podman | β Podman |
| Podman Support | β No | β No | β Yes | β Yes | β Yes |
| Performance | β 1/5 | βββ 3/5 | ββββ 4/5 | βββββ 5/5 | βββββ 5/5 |
| Cloud Ready | β No | β οΈ Partial | β Yes | β Yes | β Yes |
| SELinux | ββ Basic | βββ Good | ββββ Better | βββββ Best | βββββ Best |
| Firewall | iptables | Firewalld | Firewalld | Firewalld | Firewalld |
| Performance Gain | Baseline | +20-30% | +50% | +100%+ | +120%+ |
| Support Status | β EOL | β οΈ ELS Only | β οΈ Maintenance | β Active | β Latest |
| EOL Date | Jun 2024 | May 2029 | May 2029 | May 2032 | May 2035 |
π RHEL 6 vs RHEL 7: Major Differences
π Key Improvements Across Versions
RHEL 7 Key Features π‘
| Feature | Improvement | Benefit |
|---|---|---|
| β‘ Systemd Init | Replaced SysVinit | Faster parallel boot (15-30 seconds) |
| πΎ XFS Default | Better I/O performance | 20-30% faster for enterprise |
| π₯ Kernel 3.10 | Modern kernel features | Better hardware support |
| π³ Docker Support | Container-ready | Run containerized apps |
| π SELinux Enhanced | Granular policies | Better access control |
RHEL 8 Key Features π
| Feature | Improvement | Benefit |
|---|---|---|
| π¦ Podman | Container alternative to Docker | Better integration with RHEL |
| π§ AppStreams | Multiple app versions | Choose specific versions of tools |
| π Performance | Kernel 4.18+ | 50% faster than RHEL 7 |
| π Enhanced Security | TLS 1.3 default | Better cryptography |
| βοΈ Cloud Optimized | Better for cloud | Seamless cloud deployments |
RHEL 9 Key Features π’
| Feature | Improvement | Benefit |
|---|---|---|
| π Kernel 5.14+ | Latest kernel | 100%+ performance improvement |
| π§ Better Containers | Enhanced Podman | Native container support |
| π§΅ Python 3.9+ | Modern Python | Latest language features |
| π OpenSSL 3 | Latest cryptography | Enhanced security |
| π Performance | Massive improvements | Best-in-class performance |
RHEL 10 Key Features π’
| Feature | Improvement | Benefit |
|---|---|---|
| π₯ Kernel 6.x+ | Next-gen kernel | Advanced hardware support |
| π€ AI/ML Ready | Enhanced for AI workloads | Support for modern workloads |
| π§΅ Python 3.12+ | Latest Python | Cutting-edge development |
| π Advanced Security | Next-gen security | Future-proof protection |
| π Performance | Maximum optimization | Peak performance |
π RHEL Version Migration Guide
What version should you use?
β RHEL 6: EOL (End of Life) - June 2024 - MIGRATE NOW
β RHEL 7: ELS Phase Only (Limited Support until May 2029)
β οΈ RHEL 8: Maintenance Support Phase (until May 2029)
β
RHEL 9: Active Support (Recommended for new deployments)
π’ RHEL 10: Latest (Best for new systems, full 10-year support)
Migration Recommendations:
| Current Version | Recommended Action | Timeline | Benefits |
|---|---|---|---|
| RHEL 6 (EOL) | π¨ Migrate URGENTLY | Immediate | Avoid security vulnerabilities |
| RHEL 7 (ELS) | π Plan migration | Before 2029 | Get full support, modern features |
| RHEL 8 (Maint.) | β Plan upgrade | Before 2029 | Access latest features, better performance |
| RHEL 9 (Active) | β Current choice | Keep updated | Full support, modern tooling |
| RHEL 10 (New) | π’ Best for new | Production ready | Latest features, full 10-year support |
βοΈ Basic System Configuration
π Pre-Installation Hardware Configuration
1. BIOS/UEFI Settings
# Things to check/configure:
β‘ Enable virtualization (if running VMs)
ββ Intel VT-x or AMD-V
β‘ Set boot order
ββ CD/DVD/USB as first boot device
β‘ Disable Secure Boot (if needed for installation)
β‘ Set time and date correctly
β‘ Enable necessary hardware (network card, etc.)
2. Storage Preparation
# Check available storage:
β‘ At least 10 GB for RHEL (20 GB recommended)
β‘ Decide on partitioning strategy
β‘ Backup existing data (if upgrading)
β‘ Note disk device names (/dev/sda, /dev/sdb, etc.)
3. Network Planning
# Gather network information:
β‘ Static IP or DHCP?
ββ If static: IP address, netmask, gateway
β‘ DNS servers (e.g., 8.8.8.8, 1.1.1.1)
β‘ Hostname/FQDN planning
β‘ Network interface detection
4. Installation Media Preparation
# Create bootable installation media:
β‘ Download RHEL 7 ISO
β‘ Verify checksum/digital signature
ββ sha256sum rhel-server-7.x-x86_64-dvd.iso
β‘ Create bootable USB (Windows/Linux/Mac tools)
β‘ Test boot on target system
π₯οΈ First Boot Configuration
# Essential first-boot commands:
# 1. Set hostname
hostnamectl set-hostname myserver.example.com
hostnamectl status # Verify
# 2. Configure network interface
nmcli connection show # List interfaces
nmcli device status # Show device status
# 3. Check filesystem status
df -h # Show disk usage
lsblk # Show block devices
mount # Show mounted filesystems
# 4. Verify kernel version
uname -r # Show kernel version
uname -a # Show all system info
# 5. Update system
yum update -y # Install all updates
yum install -y yum-utils # Useful utilities
# 6. Enable important services
systemctl enable NetworkManager
systemctl enable systemd-resolved
systemctl start NetworkManager
β Best Practices Checklist
| Area | Practice | Why Important |
|---|---|---|
| Hardware Selection | Choose XFS for production | Better performance, RHEL 7 default |
| Partitioning | Separate /, /var, /home | Prevents one filesystem filling |
| Disk Space | Monitor free space regularly | Prevent "disk full" issues |
| Updates | Keep RHEL version supported | Security patches and support |
| Planning | Document hardware & config | Future reference and troubleshooting |
| Backup | Plan backup strategy pre-install | Disaster recovery capability |
| Security | Plan SELinux/firewall setup | Network and system protection |
| Monitoring | Install monitoring pre-deployment | Early issue detection |
π Navigation
β¬ οΈ Previous: 5. Root Concepts
π Current Location: 6. Hardware Requirements (You are here)
β‘οΈ Next Module: Installation Guide
πΊοΈ Full Course Path:
Introduction β [Fundamentals (Complete: Linux vs Windows β Filesystems β Partitioning β Root Concepts β Hardware Requirements)] β Installation
π Additional Resources
- π Red Hat RHEL 7 Documentation: access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/
- πΏ RHEL Installation Guide: access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/
- π§ System Administration Guide: access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/
- π₯οΈ Hardware Requirements: Red Hat Hardware Support Matrix
- π³ Docker on RHEL 7: docs.docker.com/install/linux/docker-ce/rhel/
β Congratulations! You've Completed the Fundamentals Module
You have successfully mastered all core Linux concepts:
β
Linux vs Windows comparison
β
Filesystems (Ext4 vs XFS)
β
Partitioning strategies
β
Root concepts and hierarchy
β
Hardware requirements
Ready for the next challenge?
β‘οΈ Continue to Installation Module β
π Ready to start? Pick a topic from the subtopic sidebar to begin!