Paul Hermans

Personal website of Paul Hermans, former webhosting provider now in sabbatical.

Installing Nextcloud on Proxmox (part 1)

Today we are going to install Nextcloud on Proxmox on a Linux Ubuntu VM.

1. Preparing Ubuntu ISO image on Proxmox

Because we are starting from a fresh Proxmox server we first have to download the ISO image that serves as the base OS.

https://releases.ubuntu.com/26.04/ubuntu-26.04-live-server-amd64.iso

2. Creating the VM

From within the Proxmox web interface:

Creating the VM can take a while, I am going to get myself a coffee :)

3. Ubuntu 26.04 installation

After creating the VM we have to go through the Ubuntu installation wizard.

(I needed to lower my memory setting because my proxmox host did not have enough memory available to start the VM)

Stick to the defaults unless mentioned:

4. QEMU Guest Agent

After installation login for the first time and install the QEMU Guest Agent so Proxmox can talk to the VM.

Why?

sudo apt install qemu-guest-agent -y

Is the IP address shown in the Summary tab in the Proxmox web interface?

Yes? Great, continue.
No? Reboot and check if “Qemu Guest agent” is enabled for the VM in Proxmox under the VM options.

5. Login via SSH

Now let’s test SSH access to confirm the VM is fully operational.

Open the Terminal on your desktop:

ssh user@ip-address

And install updates:

sudo apt update && sudo apt upgrade -y

6. Mount the data disk

When we created the VM we added a second data disk. Before we can use it, we need to partition, format and mount it.

# Identify the data disk (look for unformatted disk, e.g. sdb)
lsblk

# Format the disk as ext4
sudo mkfs.ext4 /dev/sdb

# Create the mount point
sudo mkdir /mnt/datadisk

# Get the disk UUID
sudo blkid /dev/sdb

# Add to fstab (replace with your actual UUID)
sudo nano /etc/fstab

Add this line at the bottom of fstab:

UUID=your-uuid-here /mnt/datadisk ext4 defaults 0 2

# Mount and verify
sudo mount -a
df -h

That’s it for now, your server is ready for Nextcloud installation in part 2.