How to Install Ubuntu 22.04 Server on VMware Workstation Pro (Step-by-Step Guide – 2026)
In the previous article, we installed VMware Workstation Pro 25H2 on Windows. Now it's time to create our first virtual machine. Since this article is part of the DevOps Home Lab series, we will install Ubuntu Server instead of Ubuntu Desktop.
What to Expect from This Article
Downloading Ubuntu Server 22.04 ISO from the official website
Installing Ubuntu Server 22.04 inside VMware Workstation Pro
Installing Apache2 and accessing its hosted webpage from the host machine
Before You Begin
Make sure you have:
Installed VMware Workstation Pro
At least 20 GB of free storage
At least 2 GB of free RAM
Unless mentioned otherwise, you can safely proceed with the default settings throughout the installation.
Downloading Ubuntu Server ISO
Before installing Ubuntu Server, we need to download its ISO. Downloading it is straightforward.
Head over to the official Ubuntu Download Page
Click on
Get Ubuntu Server. You should see the latest available LTS Ubuntu Server, which is 24.04.4 LTS. But we are going with 22.04 LTS
Scroll down until you see.
ALTERNATIVE DOWNLOADS. ClickDownload 22.04.x LTSor click here for the direct download
The ISO download should begin automatically and may take a few minutes depending on your internet speed.
Creating a New VM Inside VMware For Ubuntu
Open VMware Workstation Pro and navigate to
File > New Virtual Machineor clickCtrl + N. This will launchNew Virtual Machine Wizard
Here choose
Custom (advanced)and clickNext >This will allow us to configure most of the hardware
Now it will ask to choose VM Hardware Compatibility. Leave it to
Workstation 25H2Choose
Installer disc image file (iso), clickBrowse...and choose the ISO file we downloaded, and clickNext >
Name the virtual machine. I have named it ubuntu2204 and optionally choose where to store all of its files. You may leave it at the default location
Set
Number of processorsto1andNumber of cores per processorto2. I have 8-core processor in my system, so I am allocating two cores from it. You may keep it to 1 too, but I found 2 to be optimal for me
Make sure to allocate at least
2GBmemory in this step. In my tests, when I allocated it memory less than 2GB, the installer always got stuck at some place. Later, when the installation is completed, you may drop it to as low as512MB
Keep
Network TypeasNAT. (We are using NAT for now so the VM can access the internet for updates. In upcoming articles, we’ll introduce host-only networking and a router VM for internal segmentation)Select
LSI LogicinSelect I/O Controller TypeswindowSelect
SCSIas Disk TypeChoose
Create a new virtual disk
Allocate at least
20GBand leave all options to default. However, if you have an HDD, I would recommend checkingAllocate all disk space nowand chooseStore virtual disk as a single file. This literally improves performance significantly on HDD
Leave the next window to default value
Finally click
Finish
Yay! Our first VM instance has been created. Next, we will power it on and see how to install Ubuntu

Ubuntu Server 22.04 Installation Procedure
Power on the virtual machine. Click either of the green play buttons to start the VM
After selecting
Try or Install Ubuntu Server, the installer will loadGo through the initial setup screens:
Most of the settings not mentioned should be left as default
Select your preferred language
If asked to update the installer,
Continue without updatingSelect keyboard layout
Leave proxy empty
Once you get through the initial setup screens, you will be presented with
Guided storage configurationProceed with the default options on this page, which isUse an entire diskandSetup this disk as an LVM group
If you remember, we provisioned 20 GB of disk space, out of which 1.7 GB is being used for /boot and only 10 GB is being used for the root (/) partition. So we will increase its size
Highlight the
/partition > pressENTER> selectunmount
You will see
ubuntu-lvas unmounted with a current size of10GBand free space as8.222GB. So highlight theubuntu-lvpartition > chooseedit
You should see the max size that we can configure as
18.222Gso enter that value inSizefield, chooseSave
And then choose 'Continue'
Now configure your profile. Enter your name, a name for this Ubuntu server, a username, and a password
Skip Ubuntu Pro when asked
Make sure
Install OpenSSH Serveris selectedSkip additional software recommendation
The installation will start now
Once the installation finishes, choose
Reboot Now.If you see error stating
Failed unmount /cdrom, don't worry, just pressEntera few times and it will rebootAfter reboot, you should see an option to log in; enter the username and password you set earlier
Congratulations, you have successfully installed Ubuntu Server inside a Virtual Machine

Installing Apache2 and Accessing the Webpage From the Host Machine
Installing Apache here is simply to verify that:
The VM networking is working correctly
Services inside the VM are reachable from the host
- Run the below command to update package mirrors and install apache2. The Apache2 service is automatically started after its installation
sudo apt-get update && sudo apt-get install -y apache2
Now, to access it from the host machine, we need to know the IP of this Ubuntu VM. So, run
ip ain the terminal and check the value ofinetwithinensXXwhereXXwill be some number. In my case the IP is172.17.18.135
Now open a browser on your host machine and enter
http://<ip>where<ip>is what you obtained above. You should see a default Apache2 page in your browser. Now, you may change this page if you like; the instructions are already available on this page.
What Did We Do?
Just now we:
Created a new virtual machine within VMware Workstation Pro
Installed Ubuntu Server 22.04 LTS inside this VM
Installed Apache2 within this VM and accessed it from our host machine
What's Next?
In the next article, we will download and install Rocky Linux inside another VM.
Link to Next Article: Install Rocky Linux 9 on VMware Workstation Pro (2026 Guide)
Series Roadmap
Creating Your First VM (Ubuntu Server 22.04) ✅
Installing Rocky Linux on VMware
Setting up Internal Networks
Configuring Static IP on Ubuntu and Rocky
Building a Gateway VM for Multi-VM Lab Architecture
Multi-VM DevOps Lab Architecture

