Time: 30 to 45 minutes
Since the Raspberry Pi took the step to the 8 gb Pi 4 everyone is wanting to push it to the limits. Well now you can actually use these devices as Virtualization Platforms VMWare ESXi-Arm, and Proxmox are the forerunners in this realm at the moment.
The coined term for Proxmox on the RPi4 is PiMOX and it actually works awesome and I am going to show you the step by step to install it on the Raspberry Pi.
Let’s get started:
Make sure you burn the os to a SD Card then boot to your RPi use RPi imager – I use 64 bit version. I use this to get the RPiSO I want.
A Raspberry Pi 4 (4 gb or 8 gb) 8 gb preferred.
You will need an SD card – I suggest 32 gb or above.
Power Adapter for your Pi
patience and a little bit of your time.
The following allows you to set limits for CPU, Memory and Disk I/O you can isolate a process
1 – sudo nano -c /boot/cmdline.txt on Ubuntu it’s c /boot/firmware/cmdline.txt
2 – copy and paste into the above file.
“cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 swapaccount=1”
The next step is to give the Pi headless operation.
3 – Copy the above line without quotes to the front of the cmdline.txt
Add ability to give yourself a static DNS
4 – sudo apt -y install resolvconf
5 – sudo systemctl start resolvconf.service
6 – sudo systemctl enable resolvconf.service
7 – sudo systemctl status resolvconf.service
Set the Permanent DNS Servers
8 – sudo nano /etc/resolvconf/resolv.conf.d/head
copy and paste the info below into the file above.
Restart the services to reflect changes
sudo systemctl restart resolvconf.service
sudo systemctl restart systemd-resolved.service
1 - ssh email@example.com 2 - passwd pi # Change your password 3 - sudo -i 4 - apt update && apt install -y curl screen vim && apt full-upgrade -y && reboot 5 - sudo raspi-config 6 - Change the hostname 7 - reboot the pi 8 - sudo -i 9 - sudo curl https://raw.githubusercontent.com/pimox/pimox7/master/RPiOS64-IA-Install.sh > RPiOS64-IA-Install.sh 10 - nano -c RPiOS-IA-Install.sh You need to edit to fit your settings network, hostname, once you are done editing save and exit the file. 11 - chmod +x RPiOS-IA-Install.sh 12 - ./RPiOS-IA-Install.sh
When the script finishes goto https://your_srvr_ip:8006 and login with root and the password you created. This should be completed and you can now create VMs/Containers in your new environment.
note: These are Raspberry PI’s (SBCs are limited on their compute power) and will not have the same performance as a full fledged Intel/AMD system. But to be honest if you are a RPi 4 enthusiast you will enjoy this a ton! To me this limitation is minimal. IMHO
Thank you for stopping by and reading, I hope you have a magnificent day.