Few days ago I wrote about ESXi on RPi, as an another popular virtualization platform, Proxmox VE(or PVE) can also be installed on a Raspberry Pi 4 with Pimox, and the installation process is quite simpler than ESXi’s.
Content below shows how to install Proxmox VE on a Raspberry Pi 4 (8GB).
A RPi 4
Although it’s not recommended by the repo author, it is possible to run on a RPi 3B+. If you want to try it, please check this issue.
A microSD card with arm64 Raspbian installed
The arm64 Raspbian can be downloaded here, the latest version should be fine.
PVE itself does not require much of the space, a 16GB card will be enough. If you want to run multiple VMs you should get bigger card, but considering the max speed of a SD card, adding other USB drives would be more suitable.
I originally tried to install on Debian Bullseye as the repository suggests, but as always (why do bad things happen to good people) —— it didn’t work somehow(I’m tired of saying this): the pve-* packages can’t be configured properly.
Make sure you flashed arm64 Raspbian to the SD card, plug the card into RPi, then boot it up.
Follow instructions must be performed locally(as in monitor and keyboard) not remotely(like SSH), since the installation will stop/start network interfaces.
Static IP address
On Debian Bullseye, network interfaces configuration can be handled by editing /etc/network/interfaces and ifup/ifdown. Although Raspbian is based on Debian, its networking can’t be handled by that out-of-the-box, we have to edit /etc/dhcpcd.conf instead.
Find the interface sector in /etc/dhcpcd.conf, uncomment the lines and change it according to your condition.
Save the config file, execute
systemctl restart dhcpcd.service
Hostname and hosts file
Edit /etc/hostname if you want to customize Pi’s name.
Then make sure you have the corrent IP – Hostname bond record in /etc/hosts: the record’s IP is your previously configured static IP and the Hostname is the RPi’s.
Then you can try to ping your Pi’s hostname to check the connection.