blaise-blog/headless rasperry pi


  1. download raspian minimal
  2. follow instructions to install onto sd card
  3. leave blank file ssh on boot partition
  4. ssh pi@<IP>, passwordrasperry`
  5. install utilities: sudo apt install vim
  6. update password: passwd
  7. update hostname: sudo vim /etc/hostname/ then sudo vim /etc/hosts/
  8. update timezone: sudo raspi-config
  9. update packages: sudo apt update then sudo apt upgrade
  10. transfer ssh keys: ssh-copy-id pi@<IP>
  11. turn off ssh by password: sudo vim /etc/ssh/sshd_config then PasswordAuthentication no
  12. restart: sudo shutdown -r
  13. make static local ip in router

built 2024-11-21 07:00:04

CC0: no copyright (source)