From 879b58cd9609cb554cf2be1dbe1b83ff92f98206 Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Sun, 24 May 2020 16:35:52 -0500 Subject: nas --- posts/headless-pi.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 posts/headless-pi.md (limited to 'posts/headless-pi.md') 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@, 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@` +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 -- cgit v1.2.3