Introduction: Blog in a Box – Raspberry Pi WordPress Complete Setup Guide

About: I'm a YouTube Maker and Creator who loves to find ways outside of the box to create and use things. My primary mission is to teach what I have learnt in the simplest way possible to all human kind. Follow me o…

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!

Step 1: What You’ll Need

Step 2: Download Blog in a Box

Go to “”

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.

Step 3: 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.

Step 4: 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”

Step 5: 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.

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 Instructable.

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

And for a good source of Raspberry Pi products, check out my Raspberry Pi Amazon List.

Microcontroller Contest 2017

Participated in the
Microcontroller Contest 2017