(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
-
RHEL: https://access.redhat.com/downloads (You need to create a Red Hat account)
-
Rocky Linux: https://rockylinux.org/download
โ 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
-
Open VMware Workstation
-
Click Create a New Virtual Machine
-
Select Typical (recommended)
-
Choose: Installer disc image file (ISO) โ browse your downloaded ISO
-
OS type:
Linux
- Version:
Red Hat Enterprise Linux 9
(works for Rocky too)
- Version:
-
Name your VM:
RHCSA-Lab01
-
Disk size: 20 GB or more
- Choose: "Store virtual disk as a single file"
-
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
-
Power on the VM
-
Select: Install Red Hat Enterprise Linux 9 or Install Rocky Linux 9
-
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
orMinimal Install
- For RHCSA labs, select:
-
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)