Secret Lair via Raspberry PI
My first post has to be the installation of this website. A blog website without any specific toPIc. It will include PIctures I’ve taken, tech notes of my projcts, or anything else I want to blather about.
I really wanted to host this myself with my own hardware. Since this was going to be a very small website with very little traffic, I decided to set it up at home using a Raspberry PI. Perfect for my needs and requires very little power. Cheap to buy and cheap to run.
This PI is running Ubuntu server for ARM with apache web server. Because this website is static, I will be using the static site generator Hugo, which is a fantastic tool for creating and maintaining websites. I’m still learning how to use it but the learning curve is not too steep.
One thing I still want to do is change the boot from the micro SD card to a USB stick. Micro SD cards are not as durable as an USB stick. I will make a seperate post when I do.
The PI is mounted on a DIN rail attached to a mounting plate made specifically for a Raspberry PI called a DINrPlate. In fact, I already have another Raspberry PI on a DIN rail running a VPN server. I used to have a PI running as a NAS with a 1TB WD Passport on the DIN but I think I broke the PI working on this website project. So I’ll have to get another replacement PI to get my NAS back on-line.
I used the .fyi domain extension simply because all the cool names were already taken by the .com crowd. Plus going with .fyi was a lot cheaper to get. $5 for the first year and $20 for the years after that. Not bad.
Hardware:
- Raspberry PI 4B w/ 4GB memory
- Heatsinks because the PI 4 gets toasty
- 16GB Micro SB memory card
- DINrPlate DIN Rail Mount
Software:
- Ubuntu Server for ARM
- Apache2 web server
- Hugo Static Site Generator
Notes:
- Router settings: