Proxmox Ubuntu Server Setup

Download the ISO

First we need to download the ISO file

Iso download steps

Open your Webinterface and go to

  • Your Node
  • Select the storage “local”
  • Select ISO Images
  • Download from URL
  • Enter "https://releases.ubuntu.com/24.04.3/ubuntu-24.04.3-live-server-amd64.iso"
  • Press Query URL and Start the Download

Create the VM

First we create the VM. Give it a nice name like docker since i mainly use this as my VM to run docker containers. Also make sure to open advanced settings and enable Start on Boot.

Create Button

In the next tab you can select the ISO image we just downloaded.

ISO Select

Settings for the System Tab

System Tab

Settings for the Disks Tab - I personally used 100GB

Disk Tab

Settings for the CPU tab - I used 4 Cores

CPU Tab

Settings for the Memory Tab - I used 9216 MiB and 6144 MiB

Memory Tab

Now you just have to start the thing and complete a completely normal Ubuntu Server Setup like you would bare metal. You can just open the shell of the newly created VM for that.

Post Install Steps

Prepare for VM Usage

The obvious first step would be to remove the iso disk from the VM settigns in Proxmox.

Then we have to setup Ubuntu for VM usage.

Update all

bash

Install VM Tools

bash

Change Grub Handling

bash

And edit these lines to

plain

Apply the config and restart

bash

Install Guest Agents

Install with

bash

In proxmox GUI edit

Guest Agent Step one
Guest Agent Step two

Now reboot the VM

Netplan Config

Edit the config using

bash

When entering the template, please make sure to change the indicated values to your needs!

yaml

Now reload the config - your SSH connection might die now

bash

Increase the Size of the Disks after install

If you realise that you are running out of storage and you need more.. fear not i gotchu. We just have to run some commands for that.

First you resize the disk size from the Proxmox gui and then you have to run these commands.

Check which disk you have - the one that mounts /

bash

Grow the partition - replace with your drive

bash

Tell LVM the new size - replace with your drive

bash

Extend your Logical Volume - first View which one

bash

Resize it - please use the device from lvdisplay

bash

Resize the filesystem

bash

Check your new disk size

bash