Category: Tutorials

Learn how to do things with PHP, Raspberry Pi, Linux and WordPress by following my tutorials. If you ever want to know how to do something that I don’t have a tutorial for, contact me and I will look to write one.

Create your own Cloud server on Raspberry Pi with OwnCloud

OwnCloud is an all-in-one solution for creating cloud storage, calendar and contacts servers. OwnCloud allows you to share files through an easy-to-use web interface, similar to OneDrive from Microsoft and Google Drive.

To make our OwnCloud installation even more robust, we’re going to use a RAID volume for our storage. I’m going to assume you’ve followed my previous tutorial ‘Create a RAID Volume on Raspberry Pi‘ first, although this is not necessary.

(more…)

Create a RAID volume on Raspberry Pi

In this tutorial, I will go through the steps necessary to create a RAID volume in Raspbian OS on your Raspberry Pi. RAID allows redundant, quick or extended storage depending on which RAID level you go with. I’m going to assume that you’ve followed my previous tutorial on how to install and run Raspbian OS from a USB Flash Drive, although this isn’t necessary.

As we’re using a software RAID controller, we can’t run the OS from our RAID volume, but we can use to for storage. This tutorial is part one of two where we will use our RAID volume for creating our own cloud storage platform using OwnCloud. View the Installing OwnCloud on Raspberry Pi tutorial.

(more…)

Create a portable battery and solar powered Raspberry Pi Zero web server

I asked the community on Reddit what tutorials people wanted me to write, and one, in particular, caught my imagination. ‘Thaslegendary’ said:

“A guide on how to power raspberry pi zero with 4 AA battery would help me a lot”

This really got me thinking. Can I build a portable web server that runs off battery alone, topped up with a solar panel? There’s only one way to find out. At the time of writing this, the Raspberry Pi Zero is running on a solar power bank and is therefore completely off the grid.

(more…)

How to add your Plugin to the WordPress Plugin Directory

I’ve written countless plugins for WordPress over the years in work and for my own personal projects but never had I created on with the intention of adding it to the WordPress plugin directory until recently. This post outlines my experiences when writing my Tides Today WordPress Plugin and hopefully answers some of the questions I found myself asking.

This article is targeted at those adding a plugin to the WordPress plugin directory, especially if you have Git services like BitBucket or Github and have no experience with SVN.

(more…)

Turn your Raspberry Pi 3 into a PHP 7 powered web server

Important: This tutorial needs updating. As the comments show, lots of people having the same issue. I will update the tutorial this week.

In this tutorial I’m going to go through the steps to install Apache2 and PHP 7.0 on your Raspberry Pi 3, to create the ultimate low-powered, super quick web server.

Prerequisites

I’m going to assume that you have Raspbian installed on your Raspberry Pi 3. For the best results, I recommend running Raspbian from a USB Flash drive rather than a MicroSD card. See my tutorial on how to do this.

(more…)