By now, you probably know that you can install WordPress on the Raspberry Pi using the same Raspberry Pi-specific instructions as you would on a Windows PC.
It’s only a matter of time until we’re able to install WordPress 4 on Raspberry Pi and get our hands on it.
But before we do, let’s take a look at what you’ll need to get WordPress up and running.
Before we dive in, let us know if you’re ready to try the steps above, or if you’d prefer a quick install.
We’ve got plenty of other things to do in the meantime, so let’s get started.1.
Download the official Raspberry Pi Installer package from the Raspberry pi’s official website and run it.
You’ll need root access, and this guide will walk you through that.2.
Click “Run” at the bottom of the window.
This should start a terminal on your Raspberry Pi.3,4.
Enter the following command into the terminal window, substituting the username and password for your Raspberry pi login.
sudo bash-4.3-rpi-installer Enter the username, password, and the password for pi as root5.
Type in the following commands:sudo bash-bash -c “sudo bash:root:echo $?; echo ‘usage: sudo bash'”;exit”4.
You should see the following output.
Usage: sudo apt-get update sudo apt – get install wp4.4-wordpress-plugin2.0-0.2-0-raspbian.deb5.
Once the install finishes, you’ll be greeted with the “Welcome to WordPress 4.” prompt, as shown in the image below.
The next step is to configure your Raspberry PI.
To do this, open a terminal window and navigate to the directory where you saved your installer.
Once you’re in there, navigate to a subfolder and execute the following:sudo nano /etc/apt/sources.list.d/wordpress-install-plugin.listThe next time you reboot your Raspberry, you should see this screen:Now, open the WordPress installer again and it should prompt you to update your system with the latest version of the official installer.
The “Install WordPress 4” dialog should appear, as seen in the below image.
If you’d like to install more than just the official version, you can choose to download a different version of WordPress.
You can then install that version using the following instructions.1, 2.
Type the following into the Terminal window, replacing the username with your Raspberry’s username and the Password for your password with the password you used for the installer.
sudo apt update sudo update-alternatives –install wp-installers –verbose1.
Open a terminal and navigate the WordPress install-plugin directory.2,3.
Type “sudo apt-cache search wp://www.wordpress.org/installer/wordpress.deb” in the terminal.4.
The installer will scan for updates, and if it finds one, it will download it and install it.5.
The WordPress installation will start.6.
After it finishes, the following screen will appear:It looks like your Raspberry has been successfully upgraded to WordPress 5.0.
If you’ve installed WordPress 4 or earlier, you will not see any new content.
If the upgrade is unsuccessful, you might see a message like this:If this is the case, you need to update to WordPress 3.6 or later.
To update your Raspberry to WordPress 6, click the “Upgrade Now” button.
If this doesn’t work, try a different browser.
If that doesn’t help, then try running the installer from a different IP address.7.
After WordPress finishes downloading, it should automatically restart.8.
Now that WordPress has installed, you may want to remove the WordPress 3 install and restart the Pi.
Type this into the console window:sudo rm -rf /etc1.
Navigate to the /etc directory on your raspberry, and execute:sudo chown pi:pi /etc2.
Now you’ll see the WordPress installation listed under “Other.”3.
Navate to the “Other” directory and execute these commands:4.
Replace “wordpress” with the name of the installation you just installed and “wp-install” with its location.5,6.
Click the “Continue” button to finish.
Now your Raspberry should reboot into WordPress 5, with the install installed.
Now, you’re all set to try WordPress 4 and get some more WordPress content up and going.
If everything goes as expected, WordPress 4 should now be installed and ready to go.
If it doesn’t, then it may take some time for the installation to finish before it starts.
But if you reboot and WordPress 5 is running, it shouldn’t take long at all.
We hope this article has given you a few pointers to getting WordPress up on the Pi, as well as