[slogan id=”header” h1=”Overview” h3=”How To Install WordPress On A Raspberry Pi”]
[slogan id=”step1″ h1=”Step 1″ h3=”Setup The Pi”][/slogan]
To get wordpress running on a Raspberry Pi, we obviously need a Raspberry Pi to install it on. If you aren’t familiar with them, Raspberry Pi’s are cheap ($35) linux computers. Assuming that you have a keyboard, mouse and HDMI monitor plugged into the Pi, we need to load the operating system onto it.
- Download the latest version of Raspbian
- Insert a MicroSD card into your computer and use Etcher to copy Raspbian to the SD card.
- When it’s done copying, remove the MicroSD card from your computer and insert it into the Raspberry Pi
- Power on the Raspberry Pi and run through the automated setup steps.
- Give the Pi a static IP address.
[slogan id=”step2″ h1=”Step 2″ h3=”Installing Nginx”][/slogan]
Before we can install WordPress, we need to install a few pre-requisites. The first and foremost is a webserver. There are several free webserver applications available, but I’m going to use Nginx because it works well with the Pi’s limited resources. So open up a command line and run these commands.
sudo apt-get update sudo apt-get install nginx sudo service nginx start sudo service nginx status systemctl status nginx.service
To exit out of the last command, just hit CTRL+C. Now you can open up a web browser on the Pi and type “localhost” into the address bar. When you hit enter, you should see the Nginx splash page.
You must be logged in to post a comment.