fbpx

Blog In a Box – Raspberry Pi WordPress Complete Setup Guide

In this article, you are going to learn how to setup your blog in your Raspberry Pi.

If you really enjoy this article, consider checking out my TechWizTime YouTube Channel.

And for an awesome source of Raspberry Pi Accessories, check out my Raspberry Pi Amazon List.

Let’s get started!

What you’ll need

Download Blog In A Box

Go to “inabox.blog”

Scroll down to the first step.

Select your OS.

Execute the file after it downloads.

Input your WiFi settings if you want to connect via WiFi, if you wish to use a wired connection just click “Continue”.

Fill up the details such as username, password, pi login and so forth.

Click “Continue”

Select the drive you want to write the image to.

Extract your MicroSD Card.

Set Up Blog In A Box

Insert the MicroSD Card into your Raspberry Pi.

Wait for it to fully configure itself.

When it asks for a login, the username will be “pi” and the password will be the Pi password you previously set in your PC.

Go to your PC and access “bloginabox.local” to access your blog.

Modify Your Blog Settings

Click on the blue link at the bottom of the page.

You’ll be taken to the settings page, here you can allow the use of the Sense Hat or the Raspberry Pi Camera if you want to.

You can post a new entrance in your blog by clicking on “Add New Post”

Install Plugins And Themes

Hop over to the Raspberry Pi.

Type in “cd/wordpress”

Press “Enter”

Type in “sudo nano wp-config,php”

Press “Enter”

Scroll down to where it says “DB_collate”

Create a new line and type “define(‘FS_METHOD’, ‘direct’);”

Press “Ctrl X”, “Y” and “Enter”

Type in “sudo chmod -R 755 /otp/wordpress/wp-content/”

Press “Enter”

Type in “sudo chown -R www-data:www-data /otp/wordpress”

Press “Enter”

Now you can install all the plugins and themes for your blog.

Installation of Blog In A Box Finished

Congratulations, you’ve just installed Blog In A Box into your Raspberry Pi, configured it, allowed the installation of plugins and themes and that’s it for this tutorial.

Could you install it by yourself? Did you had any problems during the installation? Have any suggestion? Then leave a comment below.

5 thoughts on “Blog In a Box – Raspberry Pi WordPress Complete Setup Guide”

  1. During the card install (on an iMac running El Capitan) the image appears to be loaded onto the card, but then the message reinsert your SD card appears, even though it is inserted AND has remounted. Clicking OK on this message just causes the message to reappear. The only recourse is to do a force quit on the installer. Subsequently, If I put the card into a Pi 3 it appears to boot and install the software OK, but then the access password doesn’t work, either for the pi, or for the blog, and I can’t ssh using the loaded ssh key. So it looks like the forced exit maybe occurs before the credentials are added to the image.

  2. As I suspected, the force quit left the setup.conf file in its original state with the details provided in the Advanced Setup Screen not added. I edited the file by hand, and the biab installed ok, and I could use it. So there seems to be a problem when running the installer on a Mac under 10.11.8 (El Capitan) (I haven’t tried it on Sierra). As described, the image is copied to the SD card, which is automatically unmounted for the process. However, the acrd remounts automatically following this process, and then the biab installer puts up a message asking for the card to be re-instered. Whatever I do, e.g. clicking on the OK in this message, or dismounting teh cardf and manually reinserting it this message remains, and the only way to quit the installer is to force quit it. Unfortunately this occurs before the biab.conf file has been altered to include the login details provided on the Advanced setup screen.

    1. I really can’t say with any accuracy as I don’t own any macs currently. I was brought up on Apple ][ but PC was where I ended up. I might suggest going to their website and checking out their MAC support.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.