Install WordPress on Raspberry Pi

Having setup a Raspberry Pi as a webserver, you may want to run WordPress on it.

SSH to your Pi and change into the web root folder:

cd /var/www/html

remove all the files currently there

sudo rm *

Download the latest WordPress package

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

Extract the Tarball to get to the wordpress files.

sudo tar xzf latest.tar.gz

Move the extracted files into the current directory and remove the tarball file.

sudo mv wordpress/* .

sudo rm -rf wordpress latest.tar.gz