Create CentOS Stream 9 VM on vSphere 8
This guide walks you through creating and installing a CentOS Stream 9 virtual machine on VMware vSphere 8.
1. Download CentOS Stream 9 ISO
Download the latest ISO from the official site:
https://www.centos.org/centos-stream/
2. Upload ISO to Datastore
1. Log in to vSphere Web Client
2. Select your target ESXi host or cluster
3. Go to "Storage" → select a datastore
4. Click "Datastore browser" → "Upload" → choose the CentOS Stream 9 ISO
3. Create New VM
1. Right-click the host/cluster → "Create / Register VM"
2. Choose "Create a new virtual machine" → Next
3. Name the VM (e.g., "CentOS9Stream")
4. Select compatibility: ESXi 8.0 and later
5. Guest OS Family: Linux → Guest OS Version: "Other 5.x or later Linux (64-bit)" or "Red Hat Enterprise Linux 9 (64-bit)"
6. Select datastore → Next
7. Configure VM hardware:
- CPUs: 2
- Memory: 4096 MB (4 GB)
- Network: VM Network (choose appropriate network)
- Hard Disk: 20 GB
8. Under CD/DVD Drive, select "Datastore ISO file" → browse to CentOS Stream 9 ISO
9. Connect at power on → Finish
4. Power On and Install CentOS Stream 9
1. Power on the VM and open the console
2. Follow installation steps:
- Select language and keyboard layout
- Configure "Installation Destination" and partitions (automatic recommended)
- Configure network and hostname
- Select "Software Selection" (Server with GUI or Minimal Install)
- Begin installation
- Set root password and create a user account
3. Reboot VM after installation
5. Update the System
sudo dnf update -y
6. Set Hostname
sudo hostnamectl set-hostname centos9stream.local
7. Enable EPEL Repository
sudo dnf install -y epel-release
8. Reboot the VM
sudo reboot