PiPress

Yup, WordPress on the Pi.
Want to run your own blog but have more control? Here you go:
(1) Install WordPress
sudo apt-get install wordpress
(2) Alias the WordPress folder to yourpi.local/blog
sudo ln -s /usr/share/wordpress /var/www/blog
(3) Setup mysql (for databases)
sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress localhost
(4) Setup the correct hostname
sudo ln -s /etc/wordpress/config-localhost.php /etc/wordpress/config-[your Pi's hostname].php
(5) Make the user www-data the owner of the wordpress files. Needed for WordPress to run correctly.
sudo chown -R www-data /usr/share/wordpress

All done! Now you can run your blog at http://yourPi’sHostname.local/blog!
Note: you can only use the WordPress blog if you are in the same network as your Pi. To use it externally, see Installing Hamachi.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s