DevOps · K8s · Volleyball · Travel  •  DevOps · K8s · Volleyball · Travel  •  DevOps · K8s · Volleyball · Travel
Explore NY Tech

🖥️ How to Install RedHat Enterprise Linux 6 (RHEL 6) on VMware Workstation | Step-by-Step Guide

July 24, 2026 — LiveStream

🖥️ How to Install RedHat Enterprise Linux 6 (RHEL 6) on VMware Workstation | Step-by-Step Guide

🖥️ How to Install RedHat Enterprise Linux 6 (RHEL 6) on VMware Workstation | Step-by-Step Guide | Subscribe to @explorenystream

🛒 Today's Picks on Amazon
As an Amazon Associate I earn from qualifying purchases.
Setting up a robust virtual environment is foundational for any DevOps engineer, and learning how to install RedHat Enterprise Linux 6 (RHEL 6) on VMware Workstation provides an essential skill for managing legacy systems or specific lab setups. This step-by-step guide will walk you through the entire process, from creating your virtual machine to post-installation configurations, ensuring you have a fully functional RHEL 6 instance ready for your projects. Arre yaar, sometimes you just need to spin up an old environment, right? Whether it’s to support a legacy application, understand how previous RHEL versions worked, or just because your project demands a specific setup, knowing how to install RedHat Enterprise Linux 6 (RHEL 6) on VMware Workstation is a super valuable skill for any DevOps or sysadmin chap. While RHEL 6 might seem like a blast from the past for many, it’s still running critical infrastructure in various corners of the world. So, getting it right the first time on a virtual machine (VM) like those provided by VMware Workstation can save you a lot of headache. Let’s dive deep, chai peete peete, into setting up your RHEL 6 virtual machine.

Why RHEL 6 And Why VMware Workstation?

"Bhaiya, RHEL 6? Kyun? Aren't we on RHEL 9 now?" Good question, mere dost! While newer versions boast better performance and features, RHEL 6 still holds relevance for several reasons: * **Legacy Application Support:** Many enterprise applications, especially in banking, telecommunications, and government sectors, were certified or developed specifically for RHEL 6. Migrating them might be costly or complex, so maintaining RHEL 6 environments becomes crucial. * **DevOps Lab Scenarios:** For those learning the evolution of Linux or working on tools that might have specific dependencies on older library versions, an RHEL 6 VM is invaluable. It helps you understand the transition from SysVinit to systemd, older networking configurations, and package management differences. * **Security Auditing & Compliance:** Sometimes, you need an isolated RHEL 6 environment to test security patches, perform audits, or replicate production issues without touching live systems. * **Skill Development:** Understanding older systems improves your overall troubleshooting capabilities and broadens your perspective on enterprise Linux environments. Now, why VMware Workstation? Simple, it's a veteran in the virtualization game. It's user-friendly, feature-rich, and robust for creating isolated lab environments right on your desktop. Its powerful features like snapshots, virtual networking, and easy resource management make it a top choice for developers and system administrators. Setting up RHEL 6 on VMware Workstation provides a safe, sandboxed space to experiment and learn without affecting your host operating system.

Pre-Installation Checklist: Gather Your Tools and Resources

Before we start the actual installation process, let’s ensure you have everything ready. Think of it as preparing your mise en place before cooking a fancy meal. 1. **VMware Workstation Installed:** Make sure you have VMware Workstation Pro (or a compatible version) installed on your host machine. The steps are generally consistent across recent versions. 2. **RHEL 6 ISO Image:** You'll need the installation media for Red Hat Enterprise Linux 6. If you have an active Red Hat subscription, you can download it from the Red Hat Customer Portal. For learning purposes, sometimes older ISOs are available through developer programs or specific archival sources. Ensure your ISO is genuine and not corrupted – a bad ISO can lead to frustrating installation failures. Usually, a 64-bit version (x86_64) is preferred. 3. **Host System Resources:** * **RAM:** At least 8GB to 16GB on your host machine is recommended. For the RHEL 6 VM itself, allocate at least 2GB of RAM, preferably 4GB if you plan to run a GUI and multiple services. * **CPU:** A modern multi-core processor (Intel i5/i7/Ryzen 5/7 equivalent or better) with virtualization extensions enabled in your BIOS/UEFI. Allocate at least 2 CPU cores to your RHEL 6 VM. * **Disk Space:** Ensure you have ample free space. For the RHEL 6 VM, a minimum of 20GB is needed, but 40GB-60GB is a safer bet, especially if you plan to install additional software, applications, or run updates. Once you have these prerequisites checked off, you’re good to go!

Step-by-Step Guide: Installing RHEL 6 on VMware Workstation

This is where the real action begins, my friend. We'll go through creating the VM, installing the OS, and then some crucial post-installation steps.

1. Creating a New Virtual Machine for RHEL 6

First things first, let’s get your new virtual machine ready to host RHEL 6. 1. **Open VMware Workstation:** Launch VMware Workstation Pro. 2. **Initiate VM Creation:** From the main menu, go to `File > New Virtual Machine...` or click on the "Create a New Virtual Machine" icon on the home screen. 3. **Choose Configuration Type:** Select `Custom (advanced)` and click `Next`. While "Typical" is faster, "Custom" gives you more granular control over hardware settings, which is essential for a fine-tuned lab environment. 4. **Hardware Compatibility:** Stick with the default latest hardware compatibility (e.g., Workstation 17.x) unless you have a specific reason to downgrade. Click `Next`. 5. **Installer Disc Image:** * Select `Installer disc image file (iso):`. * Click `Browse...` and navigate to the location of your RHEL 6 ISO file. * VMware might detect "Red Hat Enterprise Linux 6" automatically. Click `Next`. 6. **Guest Operating System Information:** * **Full name:** Enter your name (e.g., "DevOps Learner"). * **User name:** Choose a non-root user (e.g., `devopsuser`). * **Password:** Set a strong password for this user. * VMware’s Easy Install feature might pre-fill some details for Red Hat Linux. While convenient, for RHEL 6, sometimes it's better to bypass this and do a manual install for learning purposes. If it prompts for a product key, you can skip it and proceed, as RHEL 6 usually doesn't need a key at this stage for installation, only for subscription-based updates later. If you want full manual control, you can choose "I will install the operating system later" and configure it completely manually. For this guide, we'll assume the basic Easy Install detection, but we'll still cover the manual steps within the OS. 7. **Virtual Machine Name and Location:** * **Virtual machine name:** Give your VM a descriptive name, like `RHEL6-DevOps-Lab`. * **Location:** Choose a path on your host machine where the VM files will be stored. Ensure this location has enough disk space. Click `Next`. 8. **Processor Configuration:** * **Number of processors:** 1. * **Number of cores per processor:** 2 (for a total of 2 CPU cores). This provides a good balance for RHEL 6 without over-allocating host resources. Click `Next`. 9. **Memory for the Virtual Machine:** Allocate RAM. I recommend `4096 MB (4GB)` for a smooth RHEL 6 experience, especially with a GUI. Click `Next`. 10. **Network Type:** * **Use network address translation (NAT):** This is usually the easiest for lab environments, as your VM gets an IP address from VMware’s internal DHCP server and can access the internet through your host's network. * **Use bridged networking:** This makes your VM appear as a separate device on your physical network. Useful if your VM needs to be directly accessible from other physical machines on your LAN. * **Use host-only networking:** Creates a private network between your host and the VM, no external access. * For most cases, `NAT` is fine to start with. Click `Next`. 11. **I/O Controller Types:** Keep the default `LSI Logic SAS`. It's generally compatible and performs well. Click `Next`. 12. **Disk Type:** Select `SCSI (Recommended)` and click `Next`. 13. **Disk:** Choose `Create a new virtual disk` and click `Next`. 14. **Disk Size:** * **Maximum disk size (GB):** Set this to `60 GB`. * **Store virtual disk as a single file:** This can simplify management but might be harder to move around if the file gets too large. * **Split virtual disk into multiple files:** Easier to move but might have a slight performance overhead. Choose based on your preference. I usually prefer `single file` for simplicity if I don't plan to move it frequently. * **Allocate all disk space now:** This pre-allocates the entire 60GB on your host, which offers better performance but consumes space immediately. If you choose not to, it will be `thin provisioned` and grow as needed. For a lab, `thin provisioned` is often fine. Click `Next`. 15. **Disk File:** Accept the default name for the virtual disk file or change it if you prefer. Click `Next`. 16. **Ready to Create Virtual Machine:** Review all your settings. Before clicking `Finish`, click `Customize Hardware...` one last time. * **Remove unnecessary devices:** For a lean server, you might want to remove the `Sound Card`, `Printer`, and `USB Controller` if you don't need them. This saves host resources. * **CD/DVD (SATA):** Ensure it points to your RHEL 6 ISO image, and `Connect at power on` is checked. * **Display:** You can increase the video memory if you plan on running a heavy GUI. * Click `Close`, then `Finish`. Your RHEL 6 VM is now created and ready for OS installation!

2. Installing Red Hat Enterprise Linux 6 within the VM

Now that your virtual hardware is configured, it's time to actually install RHEL 6. 1. **Power On the Virtual Machine:** In VMware Workstation, select your `RHEL6-DevOps-Lab` VM and click `Power on this virtual machine`. 2. **Boot from ISO:** The VM will boot from the RHEL 6 ISO. You'll see a boot menu: * `Install or upgrade an existing system` (select this) * `Install system with basic video driver` (useful if graphical install fails) * `Rescue installed system` * `Boot from local drive` * Choose the first option and press `Enter`. 3. **Media Test (Optional):** You might be prompted to test the installation media. For a known-good ISO, you can `Skip` this test to save time. 4. **Graphical Installation:** The RHEL 6 installer will start. * **Language:** Select `English (English)`. * **Keyboard Layout:** Select `U.S. English`. * Click `Next` on both. 5. **Storage Device Warning:** The installer will ask "What type of storage devices would you like to use?". Select `Basic Storage Devices` (this applies to the virtual disk you just created). Click `Next`. 6. **Hostname and Network Configuration:** * **Network Devices:** Choose your network interface (usually `eth0`). You can configure the network now or later. For now, check `Connect automatically` if it’s not already. * **IPv4 Settings:** For a lab, `DHCP` is usually fine. If you need a static IP, you can configure it here (select "Manual" method). * **Hostname:** Set a descriptive hostname like `rhel6-server.localdomain`. Click `Next`. 7. **Time Zone:** Select your appropriate geographic region and city. You can also configure `System clock uses UTC`. Click `Next`. 8. **Root Password:** This is critical. Set a strong password for the `root` user. Remember it! Click `Next`. 9. **Installation Type (Partitioning):** This is an important step for disk layout. * **Use All Space:** Easiest, but gives less control. * **Replace Existing Linux System:** Not applicable for a fresh install. * **Shrink Current System:** Not applicable. * **Create Custom Layout:** This is the most flexible and recommended for learning. Select `Create Custom Layout` and click `Next`. * **Custom Partitioning:** * You'll see your virtual disk (e.g., `sda`). Click `Create`. * **Standard Partition:** Choose `Standard Partition`. * **`/boot`:** Mount Point: `/boot`, Size: `500 MB` (Fixed size). This contains the kernel and boot loader. * **`swap`:** Mount Point: `swap`, Size: `4096 MB` (or 2x your RAM, up to 4GB for RHEL 6 generally). This is for virtual memory. * **`/` (root):** Mount Point: `/`, Size: Leave blank to `Fill to maximum allowable size`. This will use the remaining space. * Click `OK` for each partition, then `Next`. * **Format Confirmation:** Confirm to format the partitions. 10. **Boot Loader Configuration:** Keep the default `Install boot loader on /dev/sda`. Click `Next`. 11. **Software Selection:** This determines what packages get installed. * **Basic Server:** A good minimal starting point for a server, you can add packages later. * **Desktop:** Installs a full GUI environment (GNOME 2 for RHEL 6). Good for learning desktop usage but consumes more resources. * **Database Server, Web Server, etc.:** Specific roles. * For a DevOps lab, `Basic Server` is often sufficient. If you want a GUI, select `Desktop`. You can also `Customize now` to pick specific package groups. Make your choice and click `Next`. 12. **Review and Begin Installation:** Review the summary of changes. Click `Next` to start the installation. 13. **Installation Progress:** The installer will copy files and configure the system. This will take some time, depending on your host's performance and selected packages. 14. **Installation Complete:** Once finished, click `Reboot`. The VM will reboot, and you should remove the ISO from the virtual CD/DVD drive (VMware will usually prompt you, or you can do it via `VM > Settings > CD/DVD > Disconnect`). Congratulations, you now have a base RHEL 6 system installed!

3. Post-Installation Configuration and VMware Tools

The base system is up, but there are a few critical steps to make your RHEL 6 VM more usable and performant. 1. **Initial Setup Wizard (First Boot):** * After reboot, if you installed with a GUI, you'll be guided through a few steps: * **Welcome:** Click `Forward`. * **Kdump:** This is a kernel crash dumping mechanism. For a lab VM, you can `Disable` it to save resources. Click `Forward`. * **Firewall:** Choose `Enabled` and ensure `SSH` is allowed if you plan to access the VM via SSH. * **SELinux:** `Enforcing` is the default and recommended for security. For a quick lab, you might set it to `Permissive` temporarily for troubleshooting, but remember to switch back. * **Create User:** If you didn't do it during the easy install, create a standard user account here. **Always work as a non-root user for daily tasks and use `sudo` for administrative privileges.** * **Date and Time:** Verify or adjust. * **System Registration:** You might be prompted to register with Red Hat Network. For a lab without a subscription, you can skip this. If you have a subscription, register to get updates. * Click `Finish` to complete the wizard. 2. **Login:** Log in with the user you created or as `root` (not recommended for daily use). 3. **Install VMware Tools (Crucial!):** VMware Tools significantly enhances the performance and usability of your VM. It provides better video drivers, mouse integration, shared folders, copy-paste functionality, and more. * **Install Dependencies:** Open a terminal and log in as `root` or use `sudo`. Install necessary build tools: yum install kernel-devel gcc make perl -y (Note: You might need to configure `yum` repositories if you don't have an active Red Hat subscription, e.g., using a local repository or public EPEL if available for RHEL 6, though RHEL 6 official updates are now EOL. This can be tricky. For a basic lab, you might proceed without a full `yum` update initially, but VMware Tools might need `kernel-devel` specific to your running kernel version.) * **Mount VMware Tools ISO:** In VMware Workstation, go to `VM > Install VMware Tools...`. This will mount a virtual CD-ROM with the VMware Tools installer inside your RHEL 6 VM. * **Extract and Install:** mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom cp /mnt/cdrom/VMwareTools-*.tar.gz /tmp/ umount /mnt/cdrom cd /tmp tar -zxvf VMwareTools-*.tar.gz cd vmware-tools-distrib ./vmware-install.pl Follow the prompts, usually accepting the default options by pressing `Enter`. * **Reboot:** After installation, reboot your VM: reboot * You should now have features like automatic screen resizing, drag-and-drop, and copy-paste working. 4. **Network Configuration Verification:** * After reboot, verify network connectivity: ifconfig eth0 (to check IP address) ping google.com (to check internet connectivity) * If you encounter issues, check `/etc/sysconfig/network-scripts/ifcfg-eth0` to ensure `ONBOOT=yes` and `NM_CONTROLLED=no` (if you're managing it manually), and restart the network service: `service network restart`. 5. **System Updates (If Subscribed):** If you have a Red Hat subscription configured, run: yum update -y This will fetch and install the latest security patches and package updates for RHEL 6. Without a subscription, `yum` might not work as expected for official repos. For learning, sometimes you just need the base OS. 6. **Take a Snapshot:** Once your RHEL 6 VM is clean, configured, and has VMware Tools installed, take a snapshot (`VM > Snapshot > Take Snapshot`). This allows you to revert to this pristine state if anything goes wrong during future experiments.

Common Pitfalls and Troubleshooting Tips

Even with the best guides, things can go sideways. Here are some common issues you might face when installing RHEL 6 on VMware Workstation and how to tackle them: * **VM is Slow/Unresponsive:** * **Issue:** Not enough RAM or CPU allocated. * **Fix:** Power off the VM, go to `VM Settings`, and increase the allocated RAM (to 4GB) and CPU cores (to 2 or 4). Ensure your host has enough resources. * **Issue:** VMware Tools not installed. * **Fix:** Follow the VMware Tools installation steps carefully. It makes a huge difference. * **"No bootable device found" after installation:** * **Issue:** The VM is still trying to boot from the ISO, or the boot loader wasn't installed correctly. * **Fix:** Go to `VM Settings > CD/DVD (SATA)` and ensure `Connect at power on` is unchecked or the ISO is removed. Reboot. If it persists, you might need to re-install and pay close attention to the boot loader installation step. * **Network connectivity issues:** * **Issue:** Incorrect network adapter setting in VMware. * **Fix:** Check `VM Settings > Network Adapter`. Ensure it's set to `NAT` or `Bridged` as desired, and `Connect at power on` is checked. * **Issue:** Network service not running or misconfigured in RHEL 6. * **Fix:** Inside RHEL 6, check `ifconfig`, `ping 8.8.8.8`. Verify `/etc/sysconfig/network-scripts/ifcfg-eth0` has `ONBOOT=yes`. Restart network: `service network restart`. * **`yum` commands failing (Subscription issues):** * **Issue:** RHEL 6 is End-of-Life, and official repositories might not be easily accessible without extended support subscriptions. * **Fix:** For a lab, you might rely on the packages installed from the ISO. If you absolutely need updates, explore options like migrating to a newer RHEL version or setting up local repositories if available, or finding suitable community-maintained archives if security policies allow (use with extreme caution for production). For the scope of a basic DevOps lab, this might not be a deal-breaker. If you *do* have a valid Red Hat subscription, ensure your system is registered using `subscription-manager`. * **VMware Tools installation failing (Missing dependencies):** * **Issue:** `kernel-devel` or `gcc` packages are missing or don't match the running kernel. * **Fix:** Ensure you have installed `kernel-devel`, `gcc`, `make`, and `perl`. Check your kernel version with `uname -r` and make sure `kernel-devel` is for that specific version. If `yum` is not working, you might have to find these RPMs manually, which can be a chore. Remember, troubleshooting is part of the DevOps journey. Don't get discouraged! Each problem you solve makes you a stronger engineer. This hands-on process of setting up RHEL 6 on VMware Workstation truly solidifies your understanding of Linux system administration and virtualization. For more Linux basics, check out our guide on essential Linux commands.

Key Takeaways

* **RHEL 6 Still Relevant:** Despite its age, RHEL 6 is important for supporting legacy applications, specific lab setups, and understanding Linux evolution in enterprise environments. * **VMware Workstation is Your Lab:** It offers robust, user-friendly features for creating isolated, manageable virtual environments for learning and development. * **Resource Allocation Matters:** Proper allocation of RAM and CPU to your RHEL 6 VM is crucial for smooth performance. Don't skimp, but don't over-allocate from your host either. * **Custom Partitioning is Best Practice:** Using `Create Custom Layout` during installation gives you control over `/boot`, `swap`, and `/` partitions, a vital sysadmin skill. * **VMware Tools are Essential:** Installing VMware Tools after the OS setup drastically improves VM performance and user experience, enabling features like clipboard sharing and display auto-resizing. Find a more detailed guide on installing VMware Tools here. * **Snapshots are Your Safety Net:** Always take a snapshot of your RHEL 6 VM after a successful, clean installation to easily revert to a known good state.

Frequently Asked Questions

Why would I install RHEL 6 on VMware Workstation in a modern DevOps environment?

While RHEL 9 is the latest, RHEL 6 is crucial for supporting legacy enterprise applications that haven't been migrated, replicating specific production environments for troubleshooting, or for educational purposes to understand the evolution of Red Hat Linux and differences in older system administration practices (e.g., SysVinit vs. systemd). It helps bridge the gap between old and new systems.

What are the minimum hardware resources required for RHEL 6 on VMware Workstation?

For a basic RHEL 6 server installation without a heavy GUI, you'll need at least 1 vCPU, 1GB RAM, and 20GB disk space. However, for a more usable experience, especially with a graphical desktop or for running typical server applications, it's highly recommended to allocate 2 vCPUs, 4GB RAM, and 60GB of disk space. Your host machine should comfortably exceed these requirements.

How do I install VMware Tools on my RHEL 6 virtual machine?

To install VMware Tools, first ensure you have the `kernel-devel`, `gcc`, `make`, and `perl` packages installed on your RHEL 6 system (using `yum install kernel-devel gcc make perl -y`). Then, in VMware Workstation, go to `VM > Install VMware Tools...`. This mounts the ISO. You'll then need to mount the virtual CD-ROM inside RHEL 6, copy and extract the `VMwareTools-*.tar.gz` archive, navigate to the extracted directory, and run `./vmware-install.pl`. Follow the on-screen prompts, usually accepting defaults. A reboot is required afterwards.

What is the difference between NAT and Bridged networking for my RHEL 6 VM?

**NAT (Network Address Translation)** allows your RHEL 6 VM to access the internet using your host machine's IP address. It gets an IP from VMware's internal DHCP server, and communication outward from the VM is translated by the host. It's simple for general internet access and isolated lab setups. **Bridged Networking** makes your RHEL 6 VM appear as a separate device on your physical network, receiving an IP directly from your physical network's DHCP server (or a static one you assign). This means your VM is directly accessible from other physical machines on your LAN, making it suitable if your VM needs to act as a standalone server on your network. And there you have it, my friend! A fully functional RHEL 6 setup on VMware Workstation. Now you're all set to experiment, learn, and build your DevOps skills without breaking your main system. If you want to see these steps in action, don't forget to watch the detailed video walkthrough on the @explorenystream channel. Subscribe for more expert guides and practical tips! Happy virtualizing!