https://downloads.raspberrypi.org/raspios_lite_arm64/images/
https://downloads.raspberrypi.org/raspios_arm64/images/
Download Balencer Etcher and Install SD-Card with this
Create a empty file ssh
to enable the ssh deamon on boot
Create a file called wpa_supplicant.conf
in the folder and add the follow content to enable an connect wifi.
Before we do this, you must first work out the 2 letter ISO 3166-1 country code.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=[WIFI COUNTRY CODE]
network={
ssid="[NETWORK SSID]"
psk="[NETWORK PASSWORD]"
}
sudo dphys-swapfile swapoff
sudo dphys-swapfile uninstall
sudo update-rc.d dphys-swapfile remove
sudo apt purge dphys-swapfile
# remove the old dphys version
$ sudo /etc/init.d/dphys-swapfile stop
$ sudo apt-get remove --purge dphys-swapfile
# install zram
$ sudo wget -O /usr/bin/zram.sh https://raw.githubusercontent.com/novaspirit/rpi_zram/master/zram.sh
# set autoload
$ sudo vi /etc/rc.local
# add the next line before exit 0
/usr/bin/zram.sh &
$ sudo chmod +x /usr/bin/zram.sh
$ sudo reboot