Installing and Configuring VMware Workstation on Windows, Ubuntu, and Red Hat Linux
VMware Workstation allows you to run multiple virtual machines (VMs) on a single physical machine. Below are step-by-step installation and configuration guides for:
Windows (10/11)
Ubuntu (22.04 LTS)
Red Hat Enterprise Linux (RHEL 9)
1. Installing VMware Workstation on Windows
Prerequisites
Windows 10/11 (64-bit)
Administrator privileges
At least 4GB RAM (8GB+ recommended)
20GB free disk space per VM
Steps
1. Download VMware Workstation
Select "Download Now" (Free Trial available).
2. Run the Installer
Double-click the downloaded
.exefile.Click Next → Accept EULA → Choose Typical Installation.
Select "Enhanced Keyboard Driver" (recommended).
Click Install (Admin privileges required).
3. Activate License (Optional for Trial)
Launch VMware Workstation.
Enter a license key (if purchased) or use Trial Mode.
4. Configure a New Virtual Machine
Click "Create a New Virtual Machine".
Select:
Typical (Recommended)
ISO file (e.g., Ubuntu/RHEL ISO)
Set Guest OS Type (Linux/Windows).
Allocate RAM (2GB+ recommended) and CPU cores.
Choose "Store virtual disk as a single file" (better performance).
Click Finish and power on the VM.
2. Installing VMware Workstation on Ubuntu (22.04 LTS)
Prerequisites
Ubuntu 22.04 LTS (64-bit)
Open terminal (
Ctrl+Alt+T)Internet connection
Steps
1. Download VMware Workstation for Linux
wget https://www.vmware.com/go/getworkstation-linux(Replace link with latest version from VMware’s site)
2. Make the Installer Executable
chmod +x getworkstation-linux3. Install Dependencies
sudo apt update sudo apt install build-essential linux-headers-$(uname -r) -y
4. Run the Installer
sudo ./getworkstation-linuxFollow GUI prompts (accept EULA, default settings).
5. Launch VMware Workstation
vmware
Activate with a license or trial.
6. Configure a New VM
Click "Create a New Virtual Machine".
Select ISO (e.g., Windows/RHEL ISO).
Allocate RAM & CPU.
Set disk size (20GB+ recommended).
Start the VM.
3. Installing VMware Workstation on Red Hat Enterprise Linux (RHEL 9)
Prerequisites
RHEL 9 (64-bit) with a valid subscription
Root or sudo access
Steps
1. Enable EPEL & Required Repositories
sudo subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y
2. Install Dependencies
sudo dnf install kernel-devel gcc make perl -y
3. Download VMware Workstation
wget https://www.vmware.com/go/getworkstation-linux chmod +x getworkstation-linux
4. Run the Installer
sudo ./getworkstation-linuxFollow GUI prompts (accept EULA).
5. Start VMware
vmware
Activate license (or use trial).
6. Create a New VM
Select "New Virtual Machine".
Choose ISO (Windows/Ubuntu).
Configure CPU, RAM, Disk.
Power on the VM.
Post-Installation Configuration (All OS)
1. Install VMware Tools (For Better Performance)
Inside the VM:
Windows:
VM → Install VMware ToolsLinux:
sudo mount /dev/cdrom /mnt cd /mnt sudo ./vmware-install.pl
2. Enable Shared Folders
Go to
VM → Settings → Options → Shared FoldersAdd a host folder to share with the VM.
3. Take Snapshots (Backup VMs)
VM → Snapshot → Take Snapshot
4. Adjust Networking (NAT/Bridged/Host-Only)
VM → Settings → Network Adapter
Troubleshooting
| Issue | Solution |
|---|---|
| "Kernel headers not found" (Linux) | Install linux-headers-$(uname -r) |
| VM won’t boot | Check ISO integrity, enable Virtualization (VT-x/AMD-V) in BIOS |
| No internet in VM | Set network to Bridged/NAT |
| "VMware Workstation cannot connect" | Restart vmware.service: |
sudo systemctl restart vmwareConclusion
Windows: GUI installer, easiest setup.
Ubuntu: Requires
build-essentialandlinux-headers.RHEL: Needs
EPELandkernel-devel.
Now you can run multiple OS instances on a single machine efficiently! 🚀


No comments:
Post a Comment