summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake2
-rw-r--r--site/blog.txt2
-rw-r--r--site/blog/self-hosting-basics.txt40
3 files changed, 39 insertions, 5 deletions
diff --git a/make b/make
index 7c92ed4..5f16391 100755
--- a/make
+++ b/make
@@ -17,8 +17,10 @@ txt2html() {
sed -E "s|^(irc://[^[:space:]\)]*)|<a href=\1>\1</a>|g" |
# Convert #/words to absolute HTML links.
+ # Convert %/words to absolute blog links.
# Convert @/words to relative HTML links.
sed -E "s|(#/)([^ \)]*)|\1<a href=/\2>\2</a>|g" |
+ sed -E "s|(%/)([^ \)]*)|\1<a href=/blog/\2>\2</a>|g" |
sed -E "s|(@/)([^ \)]*)|\1<a href=${pp##.}/\2>\2</a>|g" |
# Convert ~/words to Source Hut URLs.
diff --git a/site/blog.txt b/site/blog.txt
index 792cc26..df174ef 100644
--- a/site/blog.txt
+++ b/site/blog.txt
@@ -1,4 +1,4 @@
Blog
______________________________________________________________________
-#/blog/self-hosting-basics
+%/self-hosting-basics
diff --git a/site/blog/self-hosting-basics.txt b/site/blog/self-hosting-basics.txt
index b4874ae..d70ef00 100644
--- a/site/blog/self-hosting-basics.txt
+++ b/site/blog/self-hosting-basics.txt
@@ -1,6 +1,7 @@
* Introduction to Self Hosting ................................. [001]
-* Preparing the Raspberry Pi.................................... [002]
-* References ................................................... [003]
+* Checklist .................................................... [002]
+* Preparing the Raspberry Pi.................................... [003]
+* References ................................................... [004]
[001] Introduction to Self Hosting
______________________________________________________________________
@@ -20,13 +21,44 @@ Debian. Although with a little bit of thought most of what is in this
article will apply to any machine running any (Unix-like) operating
system.
-[002] Preparing the Raspberry Pi
+[002] Checklist
______________________________________________________________________
+Before you follow this guide ensure you have the following:
-[003] References
+ - A Raspberry Pi
+ - A MicroSD Card
+ - An SSH key pair on your primary system
+ - A Router capable of Port Forwarding
+ - Patience
+
+[003] Preparing the Raspberry Pi
+______________________________________________________________________
+
+The first thing you will need to do is install Debian on the Raspberry
+Pi. You can find a link to the Debian image here [3]. After you down-
+load the image you can write the image to your MicroSD. To write the
+image to your SD card run the following command:
+
++--------------------------------------------------------------------+
+| |
+| $ xzcat *bookworm.img.xz | sudo dd of=/dev/{YOUR_DEVICE} |
+| |
++--------------------------------------------------------------------+
+
+Make sure you replace {YOUR_DEVICE} with your SD card's device. Wait
+for the command to finish. After the command has finished you will
+need to edit the value for the root_authorized_key in the
+/sysconf.txt with the contents of your ~/.ssh/id_rsa.pub on your
+primary machine.
+
+Now you can insert the Micro SD into the Raspberry Pi and connect via
+SSH.
+
+[004] References
______________________________________________________________________
[0] https://pages.github.com
[1] https://srht.site
[2] https://www.linode.com
+[3] https://raspi.debian.net/