Pi Web Server Security

Pi Web Server Security

Let’s consider this Phase II of building your own web server to host your WordPress site at home. When dealing with anything interwebs, security is something to be proactive about. Especially if you’re hosting your own Pi server from your home network. The following steps I pulled from a number of guides I found around the web, here’s what worked for me.

SSH Key Pair Authentication.

Up to now, we’ve used a password to connect to the Pi, using the default pi user. We’re going to ditch passwords and use the much more secure key pair authentication method which will help protect against brute-force password cracking attacks.

These next steps must be completed on your Linux or Mac OS desktop or laptop computer, not the Pi itself. Firstly, let’s generate the ssh keys for your machine:
Read more

Installing WordPress on a Raspberry Pi

Installing WordPress on a Raspberry Pi

Now that we have a server running Nginx, php7.0-fpm with MariaDB we can install WordPress, which will act as our content management system (CMS) and provide a framework for the website.

Install WordPress

Instlaling WordPress is pretty straightforward. Let’s make sure we’re in the correct directory:

1
cd /var/www/html/

Next let’s download the latest version of WordPress to this location:

1
sudo wget http://wordpress.org/latest.tar.gz

Read more

Wifi Watchdog

Wifi Watchdog

Everyone likes it when well made plans run smoothly. In my experience with technology, things could always run just a bit more smoothly… even the best laid plans can go horribly awry.

Sometimes, Pi goes offline… Maybe it’s overtaxed, maybe it’s sleepy. Happens, right? Sometimes, the wifi just drops dead for no easily identifiable reason.

Well, we can fix that.
Read more

Pi Web Server – Initial Setup

Pi Web Server – Initial Setup

Welcome to my corner of the interwebs. This is my nth version of chrislhood.com and this go ’round I’m focusing it on the major interests and outlets of my life. Lately (#2015) I’ve been on a Raspberry Pi kick. These little Linux boxes are amazing little gadgets have a limitless range of uses and I have yet to wrap up a Pi project without being impressed at what they’re capable of helping me create.

Most recently I’ve been focused on the Zeros. For $5 it’s hard not to be completely blown away by these computers.

My latest adventure has been to roll my own web server to host the latest iteration of this site. Read more