How to get your WordPress site running in the cloud: An overview
article A few years ago, WordPress was still the dominant blogging platform.
Now, with more than 50 million installations and tens of millions of users worldwide, it’s still one of the world’s top-performing CMSs.
But how does it manage to run without a massive amount of power and bandwidth?
This article walks you through a simple configuration that can run WordPress without the use of a large amount of hard disk space.
In the future, we’ll cover some advanced solutions that might help make this work.
Let’s get started.
Installing WordPress on a Raspberry PiPi is a relatively straightforward task, especially if you’re using the latest versions of Raspbian, which come preloaded with the most recent version of the operating system.
Just follow the instructions in the RaspiDev Wiki to get started:Step 1: Install and configure WordPress on your RaspberryPi.
The RaspberryPi is an open source, Raspberry Pi-powered computer.
While it’s technically a computer, the Raspberry Pi is still a Raspberry.
A Raspberry is a computer built for fun, not for science.
As a result, you can easily install and configure it on your own, but this tutorial is for beginners.
We’ll be using the Pi 2, but you can use any Pi-compatible model.
Step 2: Install the latest version of RpiDev.
Raspbian is a Debian-based Linux distribution, which is also the operating systems main operating system, and the default OS for most of the Raspberry Pis.
If you’ve been using Debian Linux for a while, you probably already have it installed.
It’s a good choice for most people, and it’s supported by several community-supported repositories, including Debian’s official repository, the Debian Project.
We’re going to use the RpiBranch repository for this tutorial.
We’ve also made sure that it’s fully up-to-date and compatible with Raspian 6.1.4, which came out last week.
To install the RPIDev, just follow the steps in the Wiki:The first step to installing WordPress on the RaspberryPi requires the installation of a few packages:Installing PHPOn a RaspberryPi, PHP is an alternative to MySQL for accessing the MySQL database.
This guide will cover how to install PHP, a web application programming interface.
If we wanted to access the database in WordPress, we would use PHP’s native API, but we could also use the built-in WordPress REST API.
We won’t be using PHP for this, but that’s okay, as we’ll discuss more later.
We’ll need a web server to serve the WordPress pages we’ll be writing.
For this tutorial, we’re using a Web Hosting account on Amazon Web Services.
The instructions in this guide assume you already have the AWS account installed.
If not, you’ll need to create one.
Step 3: Install PHP on your RaspPi.
We’re going for a simpler setup, but if you need more power, you might consider installing PHP on a server, as the built in PHP library can be used to handle things like creating, editing, and removing HTML pages, as well as retrieving information about WordPress pages.
Step 4: Configure PHP to use our WordPress API.
We want to create a simple blog using the builtin WordPress API, so let’s configure WordPress to use that instead of the built‑in PHP API.
Open the WordPress admin panel, and click the “Plugins” menu.
Click the “Options” menu to select the “WP API” menu item.
You’ll see a list of options for this plugin, including the options to enable/disable the “Postgres” feature, as it will let WordPress use your Postgres database.
Click “Enable” and you’ll be presented with a new page.
On the “Enable WordPress API” page, select “Plugin Configuration”.
You’ll need this to use WordPress, so make sure to click the checkbox next to it.
Next, you need to add a new “WP_API_USERNAME” and “WP.postgresql.user” database variables.
These are the name and username for the WordPress user you’ll use for your API.
Next, add the following SQL statements:Step 5: Save and exit.
When you’ve finished configuring WordPress, click “Finish”.
You should see a new WordPress page open up, with the “Configure” menu on the top right.
Select the “Plugin” menu, and you should see the “API” page.
Click the “Settings” menu at the top, and select “Plugin Configuration”.
You’ll need these variables, as they’re used by the builtin WordPress plugin to manage the WordPress API:Finally, click the OK button.
This should take you to a page that displays your newly created configuration file.
Click “Save Changes” to save your configuration changes.
If everything is configured correctly, you should now see your newly configured configuration file on the WordPress Admin panel.