Install Ubuntu on VMware Workstation

Khimananda Oli 7 min read Virtualization
Install Ubuntu on VMware Workstation

By Khimananda Oli | Last reviewed: August 2026

You need to install Ubuntu on VMware Workstation to build a reliable local lab for testing infrastructure code, running Kubernetes, or validating security configurations before touching production. While the basic installation wizard is straightforward, default settings often lead to performance bottlenecks, missing guest tools, or networking issues that waste hours of debugging later. This guide walks you through the precise configuration steps I use to deploy audit-ready, performant Ubuntu VMs that mirror real cloud environments.

How do you prepare VMware Workstation and download the correct Ubuntu ISO?

Before you click "Create New Virtual Machine," verify your host environment supports nested virtualization if you plan to run Docker or KVM inside the guest. In my experience helping teams set up home labs for DevOps learning, skipping this check causes silent failures when containers refuse to start. Enable VT-x/AMD-V in your BIOS and ensure Hyper-V or Windows Hypervisor Platform is disabled unless you are using VMware Workstation 17+ which supports coexistence.

Download the latest Ubuntu 24.04 LTS Server or Desktop ISO from the official release page. Always verify the SHA256 checksum against the published hash. Supply chain attacks targeting developer tooling are increasing in 2026; a corrupted ISO can introduce backdoors or cause intermittent installation failures that look like hardware bugs. For server-focused workloads where GUI overhead matters, choose the Server ISO and add a minimal desktop environment later only if needed.

Verify BIOSVT-x / AMD-V OnDownload ISOUbuntu 24.04 LTSVerify SHA256Integrity CheckReady to InstallVM Wizard
Pre-installation workflow: verifying firmware, obtaining trusted media, and validating integrity before creating the VM

What are the optimal resource settings when you install Ubuntu on VMware Workstation?

The "Typical" configuration wizard suggests conservative defaults that rarely suffice for modern development workflows. When you install Ubuntu on VMware Workstation for professional use, customize these parameters during creation or immediately after via VM Settings.

  • Processors: Assign 4 cores minimum (2 sockets × 2 cores). Single-core VMs struggle with parallel builds and container orchestration. Do not exceed 50% of your physical core count to avoid host contention.
  • Memory: Allocate 8GB for general dev work, 16GB for Kubernetes or database testing. Reserve memory to prevent swapping on the host, which destroys I/O performance.
  • Disk: Use NVMe emulation instead of SATA/SCSI for significantly better IOPS. Select "Store virtual disk as a single file" to reduce filesystem overhead. Start with 60GB thin-provisioned; resizing later is possible but requires downtime.
  • Network: NAT mode isolates the VM behind your host IP, suitable for most labs. Use Bridged mode only if the VM needs direct LAN access for services like mDNS discovery or PXE boot testing.

A common mistake is enabling 3D acceleration for server VMs. This consumes GPU resources unnecessarily and can cause display artifacts in headless modes. Disable it unless you specifically need graphical rendering benchmarks.

How do you complete the Ubuntu installation and configure open-vm-tools?

Boot from the ISO and proceed through the interactive installer. Choose "Minimal Installation" for Desktop variants to reduce attack surface and bloat. Set a strong password and enable automatic security updates during setup. After the first reboot, the critical next step is installing VMware's open-source guest tools. Proprietary VMware Tools are deprecated for Linux guests in 2026; open-vm-tools is maintained by Canonical and integrates directly with the kernel.

// Update package index and install recommended tools
sudo apt update && sudo apt upgrade -y
sudo apt install -y open-vm-tools-desktop fuse3

// Verify service status
systemctl status vmtoolsd.service

// Enable shared clipboard and drag-drop (Desktop only)
vmware-user-suid-wrapper

Without these tools, you lose copy-paste between host and guest, dynamic screen resolution, accurate time synchronization, and graceful shutdown signals. Time drift in particular breaks TLS handshakes, log correlation, and distributed tracing — issues I frequently diagnose when teams skip this step.

VMware Workstation Hypervisor LayerHost Resources · Virtual Hardware · Clipboard Bridgeopen-vm-tools + vmtoolsdTime Sync · Memory Balloon · Graceful Shutdown · Shared FoldersKernel Modulesvmwgfx · vmblock · vmciUser Space ServicesClipboard · Resolution · DnDGuest ApplicationsDev Tools · Containers · SSH
Integration architecture: open-vm-tools bridges hypervisor capabilities to kernel modules and user-space services inside the Ubuntu guest

How does VMware Workstation compare to alternatives for Ubuntu virtualization?

Choosing the right hypervisor depends on your workflow, budget, and compliance requirements. While this guide focuses on how to install Ubuntu on VMware Workstation, understanding trade-offs prevents costly migrations later.

CriteriaVMware Workstation ProOracle VirtualBoxWSL2 (Windows)
Licensing (2026)Free for personal use; paid commercialGPLv2, fully freeIncluded with Windows Pro
PerformanceNear-native I/O, excellent 3DGood CPU, weaker I/O & graphicsExcellent CPU, limited networking
Snapshot ManagementAdvanced branching, instant revertBasic linear snapshotsCheckpoint support, no branching
Guest Tools Maturityopen-vm-tools, seamless integrationGuest Additions, occasional breakageBuilt-in, no manual install needed
USB PassthroughReliable, broad device supportFunctional, some compatibility gapsLimited, requires usbipd-win
Best ForProduction-like labs, compliance testingBudget-constrained learningLightweight CLI dev, quick scripts

For teams preparing for SOC 2 audits or testing infrastructure that must match production behavior exactly, VMware Workstation’s snapshot fidelity and network simulation accuracy justify the licensing cost. WSL2 excels for rapid iteration but abstracts away kernel-level details you may need to debug. If you're exploring securing a fresh Ubuntu server, a full VM provides isolation guarantees that WSL2 cannot offer.

What post-installation steps make an Ubuntu VM production-ready?

Fresh installs lack hardening, observability, and automation primitives expected in professional environments. Treat every VM as ephemeral infrastructure: configure it once, document it, then automate replication.

  1. Harden SSH: Disable root login, enforce key-based authentication, and change the default port. Follow principles from SSH hardening best practices to prevent brute-force attacks even in isolated labs.
  2. Configure UFW Firewall: Allow only necessary ports (22, 80, 443). Deny all inbound by default. Lab VMs left open accumulate malware and skew test results.
  3. Enable Automatic Security Updates: Run sudo dpkg-reconfigure unattended-upgrades to patch vulnerabilities without manual intervention. Unpatched lab VMs become attack vectors on your host network.
  4. Set Up Monitoring Baseline: Install netdata or Prometheus node exporter immediately. You cannot optimize what you cannot measure, and baseline metrics help distinguish VM issues from application bugs.
  5. Create a Golden Snapshot: After completing all configuration, take a clean snapshot named "base-hardened-2026-08". Clone from this point forward to ensure consistency across team members’ environments.
1. Harden SSHKeys OnlyNo Root Login2. Configure UFWDefault DenyAllow 22,80,4433. Auto Updatesunattended-upgradesSecurity Patches4. Monitoringnetdata / node_expBaseline Metrics5. Golden Snapshotbase-hardened-2026Clone Source
Five-step hardening sequence transforming a fresh Ubuntu install into a reproducible, secure base image for cloning

Install Ubuntu on VMware Workstation: Your Next Steps

Successfully configuring a VM extends far beyond clicking through an installer wizard. By allocating appropriate resources, installing open-vm-tools immediately, applying security baselines, and capturing a golden snapshot, you transform a generic Ubuntu install into a dependable engineering asset. Whether you're building CI runners, testing Ansible playbooks, or simulating multi-node clusters, these practices ensure your local environment behaves predictably. Ready to move beyond single VMs? Explore multi-container setups with Docker Compose to orchestrate complex services locally, or reach out if your team needs help designing compliant, scalable lab infrastructure that mirrors production faithfully.

Frequently Asked Questions

Yes, Broadcom made VMware Workstation Pro free for personal use in May 2024. Commercial users still require a paid subscription. Download the latest version from the official Broadcom support portal after creating a free account to install Ubuntu legally without licensing costs.

Ubuntu 24.04 LTS is recommended for VMware Workstation in 2026 due to mature open-vm-tools support and long-term stability. The latest point release includes updated kernel drivers that prevent common display resolution and shared folder issues during installation on virtual hardware.

Assign at least 4GB RAM for desktop Ubuntu and 2GB for server installs. Modern GNOME environments require more memory to run smoothly. Never allocate more than 75% of your host physical RAM to avoid system instability and swapping performance degradation on the host machine.

This usually occurs when Secure Boot blocks unsigned kernel modules or the virtual disk controller type is incompatible. Disable Secure Boot in VM settings and ensure you selected NVMe or SATA instead of SCSI during setup to resolve most post-installation boot failures immediately.

Use open-vm-tools instead of legacy VMware Tools. Install via sudo apt install open-vm-tools-desktop for graphical Ubuntu instances. This package provides better kernel integration, automatic updates through APT, and proper clipboard sharing without requiring manual reinstallation after every guest OS kernel upgrade.

Install open-vm-tools-desktop first, then configure shared folders in VM settings. Mount using vmhgfs-fuse .host:/ /mnt/hgfs in your fstab file. Ensure the VMware Shared Folders service is running and that you have added your user to the appropriate group for persistent access.

Yes, connect USB devices by selecting them from the VM menu while the guest is focused. Install linux-tools-generic and open-vm-tools for proper passthrough support. Note that USB 3.1 devices require VMware Workstation Pro and may need specific udev rules configured inside the Ubuntu guest.

Enable 3D acceleration in VM display settings and install open-vm-tools-desktop for hardware-accelerated rendering. Allocate sufficient video memory, typically 256MB or higher. Without these packages, Ubuntu falls back to software rendering via llvmpipe, causing significant lag in GNOME Shell and browser applications.

Switch the network adapter from NAT to Bridged mode if you need direct LAN access. Verify the virtual NIC is connected in VM settings and check netplan configuration inside Ubuntu. Restart networking with sudo systemctl restart systemd-networkd if DHCP fails to assign an IP address automatically.

Choose VMDK with thin provisioning for space efficiency during development. Preallocated disks offer better I/O performance for database workloads but consume full storage immediately. Always store VM files on SSD storage rather than mechanical drives to prevent severe bottlenecks during Ubuntu package installation and updates.

Yes, expand the virtual disk in VMware settings first, then extend the partition inside Ubuntu using cfdisk or gparted. Run sudo lvextend and resize2fs for LVM setups. Always snapshot before resizing to prevent data loss if the filesystem extension fails during the operation.

Install open-vm-tools-desktop and ensure the VMware User Service is running. Copy-paste requires the vmtoolsd process active in your session. If it stops working after updates, restart the service with systemctl restart vmtoolsd.service and verify clipboard isolation settings are not blocking bidirectional transfer in preferences.

Server installs require fewer resources and no 3D acceleration. Skip open-vm-tools-desktop and install only open-vm-tools. Use minimal video memory allocation and consider disabling sound cards and USB controllers to reduce attack surface and resource overhead for headless production-style virtual machines.

Use VMware Auto Deploy or cloud-init with ISO customization. Create answer files using subiquity autoinstall YAML format for Ubuntu 24.04. Mount the config via CD-ROM or HTTP server during boot to achieve fully unattended installations suitable for reproducible DevOps testing environments and CI pipelines.

Virtual machines lose time synchronization when suspended or under heavy load. Enable time sync in VMware Tools settings and configure chrony or systemd-timesyncd inside Ubuntu. Add tinker panic 0 to chrony.conf to force resynchronization after resume events instead of waiting for gradual drift correction over hours.