User Tools

Site Tools


raspi:raspi_system_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
raspi:raspi_system_setup [2024/08/20 10:58] – created azmanraspi:raspi_system_setup [2025/02/14 12:03] (current) azman
Line 1: Line 1:
-====== Raspberry Pi: Setting Up System ======+====== Raspberry Pi: System Setup ======
  
 //dumped for now...// //dumped for now...//
Line 27: Line 27:
   = my1shell, my1linuxpi, my1codelib, my1codebase   = my1shell, my1linuxpi, my1codelib, my1codebase
   = my1imgpro, my1imgproX   = my1imgpro, my1imgproX
 +</file>
 +
 +<file text pi0_config.txt>
 +- 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 <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
 </file> </file>
  
raspi/raspi_system_setup.1724122699.txt.gz · Last modified: by azman