Blog in a Box – Raspberry Pi WordPress Complete Setup Guide

by TechWizYouTube in Circuits > Raspberry Pi

2301 Views, 13 Favorites, 0 Comments

Blog in a Box – Raspberry Pi WordPress Complete Setup Guide

BlogInaBox - Raspberry Pi Wordpress Complete Setup Guide - IN.PNG

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

BlogInaBox - Raspberry Pi Wordpress Complete Setup Guide

Download Blog in a Box

18-4-17.1.png

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

18-4-17.2.png

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

18-4-17.3.png

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

18-4-17.4.png

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.