Main menu

Install Joomla on Raspberry Pi

Joomla is a content managment system (CMS) used my many people around the globe to manage their web sites.

Step 1. Setting up the Raspberry with LAMP

If you havent yet set up your Raspberry Pi as a web server my earlier article can help you:

LAMP with Raspberry Pi

Step 2. Download and transfer files

Next, we need a copy of Joomla. ALWAYS use the latest available – you can get it from here:

once downloaded, you need to unpack it to the directory /var/www on your Raspberry Pi

I usually use Filezilla to transfer files from my Windows PC to my Raspberry Pi.

To extract locally, open a terminal window and type (change '' below to the appropiate filename):

sudo unzip -d /var/www

Remove the zip-file with

sudo rm

You can also download an quickstart package from one of the companies who makes templates for Joomla. Just use the quickstart package instead of the above package.

Step 3. Edit config files

Now we need to change a couple of settings in your php.ini file to reduce the load on the Raspberry Pi:

cd /etc/php5/apache2
sudo nano php.ini

then press CTRL w to search for a string, and search for output_buffering

now change it to look like this:

output buffering
Default Vaule: Off
Development Value: 0
Production Value: 0b

now press CTRL o then CTRL x to save the file and exit.

Next, we need to create and make sure your configuration.php is writeable:

sudo bash
cd /var/www
touch configuration.php
chmod 777 configuration.php

and make apache owner of the www-directory

cd /var
sudo chown -R www-data:www-data www

Step 4. Install Joomla

Once done, point your browser at http://your-raspberrypi-ip/ or http://localhost if you are on the device.

(if you get the standard Apache welcome screen, delete the index.html from /var/www)

You should get the Joomla installation screen.

Just go through all the steps.

If you cant remove the installationdirectory you have to remove it by:

cd /var/www
sudo rm -rf installation

Now you are done and you can reach your website at http://your-raspberrypi-ip/ or http://localhost if you are on the device. Your adminpages are on http://your-raspberrypi-ip/administrator or http://localhost/administrator if you are on the device