Step-by-Step Guide: Installing Proxmox VE and Configuring Your First Ubuntu VM
Step-by-Step Guide: Installing Proxmox VE and Configuring Your First Ubuntu VM
Proxmox VE is a robust open-source server virtualization platform perfect for homelabs or production environments. In this guide, we’ll walk through installing Proxmox, uploading an Ubuntu ISO, and creating your first virtual machine. Let’s get started!
Prerequisites
- Hardware: A dedicated server/PC or VM
- USB Flash Drive: ≥4GB (for Proxmox installer).
- Network: Ensure your server and client device are on the same network.
Part 1: Prepare a Bootable Proxmox USB Drive
Step 1: Download the Proxmox ISO
- Visit the Proxmox Downloads Page.
- Download the latest Proxmox VE ISO (e.g., version 8.1).
Step 2: Create Bootable Media
Use Balena Etcher (macOS/Linux/Windows) or Rufus (Windows):
- Format your USB drive (FAT32).
- Open Balena Etcher:
- Click Flash from File → Select the Proxmox ISO.
- Click Select Target → Choose your USB drive.
- Click Flash and wait for completion.
Part 2: Install Proxmox VE
- Boot from USB:
- Insert the USB drive into your server.
- Restart the server and enter BIOS/UEFI (press
F2,F10,F12, orDEL). - Set the USB drive as the primary boot device.
- Save changes and reboot.
- Proxmox Installation:
- Select Install Proxmox VE from the boot menu.
- Accept the EULA by clicking I agree.
- Select the target disk for installation.
- Configure:
- Country/Timezone: Set your location.
- Password & Email: Set admin credentials.
- Network: Verify the management interface and IP address.
- Click Install and wait (~5-10 minutes).
- Remove the USB drive after completion.
- Access the Proxmox Web Interface:
- After reboot, note the IP address displayed on the screen.
- On another device, open
https://<your-proxmox-ip>:8006in a browser. - Log in with your root credentials (email is optional).
Part 3: Upload an Ubuntu ISO Image
- In the Proxmox web interface:
- Navigate to Datacenter → your-node → Storage → local.
- Click ISO Images → Upload or Download from URL.
- For Ubuntu Server 24.04:
- URL:
https://releases.ubuntu.com/24.04/ubuntu-24.04-live-server-amd64.iso.
- URL:
Part 4: Create an Ubuntu Virtual Machine
- Create VM:
- Click Create VM in the top-right corner.
- General Tab: Name the VM (e.g.,
ubuntu-server). - OS Tab: Select the uploaded Ubuntu ISO.
- System Tab: Enable QEMU Agent.
- Disks Tab: Set disk size (e.g., 50GB).
- CPU Tab: Allocate cores (e.g., 4).
- Memory Tab: Assign RAM (e.g., 8192 MiB = 8GB).
- Network Tab: Keep defaults (bridge
vmbr0). - Confirm settings and click Finish (check Start after created).
Part 5: Install Ubuntu on the VM
- Start the Installation:
- Select the VM → Console → Open Browser Console.
- Follow the Ubuntu installer prompts:
- Language: Select your language.
- Updates: Install the latest installer updates.
- Keyboard Layout: Configure as needed.
- Network: Confirm settings (DHCP by default).
- Storage: Use guided partitioning (defaults recommended).
- User Setup: Enter a username, password, and hostname.
- SSH Setup: Enable Install OpenSSH Server.
- Snaps: Skip optional packages if desired.
- Click Reboot after installation.
- Detach the ISO:
- After reboot, if you see a
cdrom.mounterror:- Go to the VM’s Hardware tab → Remove the CD/DVD Drive.
- Return to the VM Console and press
Enterto dismiss the error message.
- After reboot, if you see a
Part 6: Post-Installation Setup
- Update Packages & Install QEMU Agent:
- Access the VM via Proxmox Console (logged in as your user with
sudoprivileges):
- Update packages (run commands as root or with
sudo):
- Access the VM via Proxmox Console (logged in as your user with
1
2
3
sudo apt update && sudo apt upgrade -y
sudo apt install qemu-guest-agent -y
sudo systemctl restart qemu-guest-agent
- Reboot the VM:
- From the console, execute:
1
sudo reboot
- SSH into the VM:
- After reboot, note the VM’s IP from the Proxmox Summary tab.
- Connect via terminal (use the username/password created during Ubuntu installation):
1
ssh your-username@your-vm-ip
🎉 Congratulations! Your Proxmox environment and Ubuntu VM are ready for use.
Useful Links
This post is licensed under
CC BY 4.0
by the author.