Host your own blog from a $25 Raspberry Pi computer

Now everybody knows it’s way smarter to just pay someone to host your website. But what not everybody knows is that it’s way more punk rock to Do it Yourself. So what follows are some tips / pointers / instructions for setting  up your own home webserver (which will burn a scant 2 watts) using all free, open source software, a Raspberry Pi, and your home internet connection.
The emphasis here is on lightweight, which fits well with the Raspberry Pi. Sure, you can setup a blog with WordPress or Django, and they will run (I’ve tried it, at least with Django). But they probably will run rather slowly. Why? The rPi doesn’t have a lot of memory or processing power, and a database / front end model requires a decent amount of that. If your site / blog ever gets much traffic, it’ll likely buckle under the load. The answer? Just serve up plain old static HTML pages. It’s fast, secure, simple, and easy on the rPi’s limited resources. But rather than painstakingly hand codeine each new blog entry, you can use a static html generator like Pelican to make it easy.
Here are the hardware ingredients:
1) A Raspberry Pi (with power supply and SD card)
2) A computer with an SD card reader (or a USB stick SD card reader)
3) A simple home network, shared by your computer and the rPI. If you have a router and an internet connection, you’re golden. The rPi will need to be connected via Ethernet, so you might need a cable.
Now everybody knows it’s way smarter to just pay someone to host your website. But what not everybody knows is that it’s way more punk rock to Do it Yourself. So what follows are some tips / pointers / instructions for setting  up your own home webserver (which will burn a scant 2 watts) using all free, open source software, a Raspberry Pi, and your home internet connection.
Host your own blog from a $25 Raspberry Pi computer
The emphasis here is on lightweight, which fits well with the Raspberry Pi. Sure, you can setup a blog with WordPress or Django, and they will run (I’ve tried it, at least with Django). But they probably will run rather slowly. Why? The rPi doesn’t have a lot of memory or processing power, and a database / front end model requires a decent amount of that. If your site / blog ever gets much traffic, it’ll likely buckle under the load. The answer? Just serve up plain old static HTML pages. It’s fast, secure, simple, and easy on the rPi’s limited resources. But rather than painstakingly hand codeine each new blog entry, you can use a static html generator like Pelican to make it easy.
Here are the hardware ingredients:
1) A Raspberry Pi (with power supply and SD card)
2) A computer with an SD card reader (or a USB stick SD card reader)
3) A simple home network, shared by your computer and the rPI. If you have a router and an internet connection, you’re golden. The rPi will need to be connected via Ethernet, so you might need a cable.
Here are the main software ingredients:
1) The standard Raspberry Pi Linux “Rasp bian” operating system, based on Debi an.
2) Light tpd, a lightweight web server, that’s pretty easy to setup.
3) Pelican – a static html blog generator (you can also use something like Octopod, if you prefer.)
4) Page Kite – a “local host tunneling solution,” which I found to be much better than dynamic DNS.

Human requirements:
1) Some Linux know how, or
2) A friend with some Linux know how, and / or
3) Know how to use forums to ask for help, and
4) Patience

Read More: Host your own blog from a $25 Raspberry Pi computer

Leave a Comment

Your email address will not be published. Required fields are marked *