EP3: How to Install RHEL / Rocky Linux in VMware Workstation

(RHCSA: Install & Setup)

๐ŸŽฏ In this episode, we will install RHEL or Rocky Linux in VMware Workstation, step-by-step โ€” as part of our RHCSA lab setup.


โœ… Requirements

Component

Notes

VMware Workstation

Pro or Player version

ISO (RHEL or Rocky)

Download from official website

At least 2 GB RAM

4 GB recommended for GUI

20 GB or more disk

For virtual machine storage


๐Ÿ”ป Step 1: Download the ISO File

โœ… Tip: If youโ€™re only learning for RHCSA, Rocky Linux 9 is free and 100% compatible with RHEL.


๐Ÿ–ฅ๏ธ Step 2: Create a New VM in VMware Workstation

  1. Open VMware Workstation

  2. Click Create a New Virtual Machine

  3. Select Typical (recommended)

  4. Choose: Installer disc image file (ISO) โ†’ browse your downloaded ISO

  5. OS type: Linux

    • Version: Red Hat Enterprise Linux 9 (works for Rocky too)
  6. Name your VM: RHCSA-Lab01

  7. Disk size: 20 GB or more

    • Choose: "Store virtual disk as a single file"
  8. Click Finish

๐Ÿ”ง Then click Edit virtual machine settings:

  • RAM: 4 GB (4096 MB)

  • Processor: 2 cores

  • Network Adapter: Bridged (acts like a real server on your network)

Why Bridged?

Actual / Physical

What Router/Modem ISP and other devices will see the topology like this:


๐Ÿš€ Step 3: Start the VM & Begin Installation

  1. Power on the VM

  2. Select: Install Red Hat Enterprise Linux 9 or Install Rocky Linux 9

  3. Wait until the installer loads


โš™๏ธ Step 4: OS Installation Process

  • Language: Choose English (US) or your preference

  • Installation Destination:

    • Select disk โ†’ leave as Automatic partitioning
  • Root Password: Set (e.g., Redhat123)

  • User Creation (optional): Add a non-root user

  • Software Selection:

    • For RHCSA labs, select: Server with GUI or Minimal Install
  • Networking:

    • Enable the Ethernet adapter (check โ€œConnect automaticallyโ€)

โœ… Click Begin Installation and wait for it to complete.


โœ… Step 5: First Boot Setup

After reboot:

  • Log in as root

  • Open Terminal


๐Ÿงช Post-Install Verification Commands

# Check hostname
hostnamectl

# Check OS info
cat /etc/os-release

# Check IP address
ip a

# Check Internet connectivity
ping -c 3 google.com

๐ŸŽฏ๐Ÿ’ก Best Practices

  • Use Rocky Linux 9 if you donโ€™t have a Red Hat subscription

  • Always take VM snapshots before testing new features

  • Use Bridged networking for real IP (great for SSH/remote lab)

Updated on