diff options
Diffstat (limited to 'posts/headless-pi.md')
-rw-r--r-- | posts/headless-pi.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/posts/headless-pi.md b/posts/headless-pi.md new file mode 100644 index 0000000..7408637 --- /dev/null +++ b/posts/headless-pi.md @@ -0,0 +1,16 @@ +title: headless rasperry pi +date: 2020-05-24 + +1. download raspian minimal +1. follow instructions to [install onto sd card](https://www.raspberrypi.org/documentation/installation/installing-images/linux.md) +1. leave blank file `ssh` on boot partition +1. `ssh pi@<IP>, password `rasperry` +1. install utilities: `sudo apt install vim` +1. update password: `passwd` +1. update hostname: `sudo vim /etc/hostname/` then `sudo vim /etc/hosts/` +1. update timezone: `sudo raspi-config` +1. update packages: `sudo apt update` then `sudo apt upgrade` +1. transfer ssh keys: `ssh-copy-id pi@<IP>` +1. turn off ssh by password: `sudo vim /etc/ssh/sshd_config` then `PasswordAuthentication no` +1. restart: `sudo shutdown -r` +1. make static local ip in router
\ No newline at end of file |