====== Raspberry Pi: Setting Up OS ====== //dumped for now...// - Raspberry Pi OS lite = for Pi Zero (bookworm armhf lite) - write image to sd card, boot = english (us) keyboard layout = setup username/password - change hostname (default is raspberrypi) $ sudo raspi-config nonint do_hostname - change locale (default is en_GB.UTF-8) $ sudo raspi-config nonint do_change_locale en_US.UTF-8 = reboot, make sure locale properly set up - enable ssh $ sudo raspi-config nonint do_ssh 0 - change timezone $ sudo timedatectl set-timezone Asia/Kuala_Lumpur - (optional) if not using wifi (e.g. on pi 1), disable wpa_supplicant $ sudo systemctl disable wpa_supplicant - (optional) change wifi country $ sudo raspi-config nonint do_wifi_country MY - (optional) disable camera $ sudo raspi-config nonint do_camera 1 - (optional) running lite most probably do not need much graphics! $ sudo raspi-config nonint get_config_var gpu_mem /boot/config.txt $ sudo raspi-config nonint do_memory_split 32 - (optional) run update $ sudo apt update $ sudo apt upgrade - install/remove stuff $ sudo apt install vim git screen $ sudo apt remove nano - get my stuff (git): my1shell, my1linuxpi, my1codelib, my1codebase