summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaise Thompson <blaise@untzag.com>2020-05-24 16:35:52 -0500
committerBlaise Thompson <blaise@untzag.com>2020-05-24 16:35:52 -0500
commit879b58cd9609cb554cf2be1dbe1b83ff92f98206 (patch)
tree8273dce8b63996bbf51924100e2a0d09a338715b
parenta951f4d593878616447e1997cf07b1419298b01f (diff)
nas
-rw-r--r--posts/headless-pi.md16
-rw-r--r--posts/nas.md4
2 files changed, 20 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
diff --git a/posts/nas.md b/posts/nas.md
new file mode 100644
index 0000000..0299ee9
--- /dev/null
+++ b/posts/nas.md
@@ -0,0 +1,4 @@
+title: network attached storage
+date: 2020-05-23
+
+Drew DeVault: [how to store data forever](https://drewdevault.com/2020/04/22/How-to-store-data-forever.html) \ No newline at end of file