If you are building on a VM please ensure you are using a valid ISO
file to install from. Usually you will want one of the OS ISOs. If this
is a RPi Device use RPi imager to burn to a SDCard.
1 – Put the OS on an SD Card and insert in to the device.
Remove the SD Card and plug it back in we have some things we need to do before we boot the pi with it.
Open File Explorer
ip=22.214.171.124::126.96.36.199:255.255.255.0:rpi4-k3s-w02:eth0:off cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 swapaccount=1
Next we need to open the config.txt
sudo nano -c config.txt
### This will disable WiFi and Bluetooth ###dtoverlay=disable-wifi dtoverlay=disable-wifi dtoverlay=disable-bt # dtparam=audio=on dtparam=audio=off ### Add on the last line after the [all] section This makes sure 64bit is used ### arm_64bit=1
2 – Once booted ssh into the VM/Device (ssh user@ip_address_here)
3 – sudo apt update && sudo apt -y full-upgrade
4 – sudo timedatectl set-timezone America/New_York
Install Virtualmin on the RPi4 w/Buster
You can install Virtualmin on a Raspberry Pi with just a simple modification in the install script. I have my Raspberry Pi 4 installed with “RaspberryPi OS Buster” and it is based on Debian Linux 10 using the install script.
What you need to do is:
- wget http://software.virtualmin.com/gpl/scripts/install.sh
- sudo nano install.sh
- Find the text “get_distro”
- Add in os_type=”debian” after get_distro
log_debug “Operating system name: $os_real”
log_debug “Operating system version: $os_version”
log_debug “Operating system type: $os_type”
log_debug “Operating system major: $os_major_version”
What this does is, it will force the script to recognize the host
as a debian operating system.
Execute the script … It should install without any issues.
- chmod 755 install.sh
wait for the script to finish then:
and login with your account.
I will not take credit for this the individual below gets all the credit.
This is per enzochzng on the Raspberry Pi forums
Post is here -> https://forums.raspberrypi.com/viewtopic.php?t=254307