Raspberry Pi – Installing JOOMLA

Earlier we showed you how to set up your Raspberry Pi as a web server, now I want to show you how to install Joomla.

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

if you havent yet set up your Raspberry Pi as a web server you can follow these articles to help you:

Raspberry Pi – as a web server Part 1 (Apache)

Raspberry Pi – as a web server Part 2 (PHP)

Raspberry Pi – as a web server Part 3 (My SQL)

Raspberry Pi – as a web server Part 4 (PHPmyadmin)

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

http://www.joomla.org/download.html

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

Its up to you how you do this – i downloaded it from within my Raspberry Pi and used the gui to extract the files. Others may prefer to use command line, or even ftp to transfer the files across – which ever way you do it is fine!

to extract locally, open a terminal window and type:

sudo unzip joomla.zip -d /var/www

Now we need to change a couple of settings in your php.ini file.

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. finally, you will need to reboot..

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

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

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 screen below, click next

Check everything looks ok on this screen:

click next, then next again on the license acceptance screen..

now fill in the database fields as shown, using the password you chose when you installed My SQL:

you can skip the next step (unless required):

Next we have to enter a Name for our site and some basic details. Make a note of the password, you will need this to log into the admin side of Joomla.

Finally, click the button shown to remove the installation folder and visit the admin page..

if you receive an error, we can remove the folder manually from the command line:

cd /var/www
sudo rm -rf installation

you can now visit the home page or the admin panel, congratulations, you are done!

 

 

 

Leave a comment

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